Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




Encrypt Password


Public Shared Function Encriptar(ByVal cleanString As String) As String
Dim clearBytes As [Byte]()
clearBytes = New UnicodeEncoding().GetBytes(cleanString)
Dim hashedBytes As [Byte]() = CType(CryptoConfig.CreateFromName("MD5"),
HashAlgorithm).ComputeHash(clearBytes)
Dim hashedText As String = BitConverter.ToString(hashedBytes)
Return hashedText
End Function

this function encrypt user password, I need to un-encrypt that password




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Encrypt Cookie (password)
Is there a built in fucntion in VBS that encrpyts information? I've never heard of it...

Anyways, I need to encrypt my user's cookie password, and username, so people can't read it very well...i.e. "173dfhal294" etc...

I check it against the database, so I also need to decrypt it also...

Can I make a function? (of course I can, but what would it look like?)

Encrypt & Decrypt Password And Store In MS Access DB
I am trying to encrypt the password and then store in Access DB. I have check out already existing threads on Sitepoint and read the artile at 15second.com (Password Encrypt/Decrypt using MDI ). It works for SQLServer. I tried it. It works..

But i am using MS Access Database, and it doesn't have any binary data type in it. So MDI is not working for me here. I havn't find any help.

I am looking for your help now as i have give it up and this thread is the only hope for me now. I need to Encrypt/Decrypt the password while using Access at backend.

Encrypt
I have a problem with asp encrypt. I always encouter this error message when i try to log in my system thru an IP address. The strange thing i that, onli my computer is experiencing this problem. I tried loggin in using another computer, with the same IP address.. and it's sucuessful. Izzit the problem wif my ASP encrypt or wad? The error i have is:

Persits.CryptoManager.1 (0x800A0001)
Object already exists.

Individually Password Protect Multiple Directories? Password Expiration?
I have a client who wants to password protect a learning course that is set up in modules. Each module needs to have it's own password protection so users can only access them as they progress through the course.

Each user should have their own password (for each module) and, said client would like the password to expire for the user at some (predetermined?) point. Is this possible? It seems like a lot (in terms of setup), but I don't know much about password stuff.

If it is possible, can someone give me an overview of how it works (theoretically) or where to find more specific info on setting something like this up (in ASP.net)

If it isn't possible, can someone suggest what is more reasonable in terms of protecting the modules?

Encrypt Numbers
Can RSA encrypt a sequence of numbers and letters intermingled together.
I was told that RSA can only encrypt letters,i'm not so sure. So can it bge done

Encrypt Files
how can encript the asp files. It can run on server but the source code is encrypt ....

Encrypt / Decrypt
how i can encrypt something in asp and put it into a database and decrypt it using a key?I want members info and order info in my database to be secure.

Encrypt Page URL
i want to encrypt my URL of my site when user process his/her queries he/she see encrypt form of URL and will not seen actual queries, how can i do this in ASP .

Encrypt Text In An Email
After searching the forums have found the following code from 4GuysFromRolla.com to encrypt/decrypt text.

I am having a mare trying to implement it, I know i need a form for the text but am having a mental block with calling the functions..

Encrypt Connection String
Can i know how to encrypt and decrypt the connection string which is include with database id and password within the global.asa?

Does ASP Have A Built In Encrypt Function?
I am working with an existing script/old server that uses encrypt(whatever) quite often (mostly querystrings), however there is no routine written anywhere in the script for this. no connection to any components or anything...

I didn't know it had a default encypt function (assuming its like base 64 or something)...

Encrypt Html Code
I'm looking for asp or java script that encrypt html
code. That it will confuse some surffers that trying
to steal content.

Encrypt The Query String Value
When using the QueryString of the request object the actual values are exposed to the viewer of the site and often user pickup on these values and start changing them . This can lead user to see data that they are not supposed to or even data that may be erroneous.

Is there an easy way to encrypt the querystring values that get displayed on the location bar / other than not using querystring. Can I use java script to disable the status bar, at the bottom of the page to not expose the URL's of various links on a page?

Query String - Encrypt
I often use a querystring in my ASP pages.for example:

if val > 1 then
Response.redirect "val1.asp?val=1&user=UserID
End if

Is there a way to encrypt the querystring so anyone trying to mis use the web site will not know what the encryption stands for also when people view the page source they should not be able to see the QueryString value. How best can I handle this . Using hidden values still expose the value in the page source. Does HTMLEncode help any?

Encrypt ASP Source Code
I was wondering does anyone use any third party tool to encrypt the original ASP source code from dispose.

Encrypt An Asp File Source Code
we have an Enterprise Application on ASP and MS SQL 2000. Would like to know if I can convert the asp app to an exe or encrypt / encode / hide the source code so that no one accessing the server can touch / modify / copy the same.

Db.mdb Password With Asp
where do you enter in the password for the connection to use?

set objConn = server.createObject("ADODB.CONNECTION")
objConn.Provider="Microsoft.Jet.OLEDB.4.0";"Password"

?

Nt Password
I am logged into nt and running an asp page.

I know that I can get my username from the server variable LOGON_USER or
AUTH_USER but the AUTH_PASSWORD seems to be empty.

Is there a way to retreive the current logged passsword

IIS/OWA Password
I just setup a passwrod button in Outlook Web Access by using the IISADMPWD directory in IIS.I have a few problems.can u solve it.

1. I would like the account section to be automatically filled by IIS.
2. I would like the back button to actually be a button not a link.

Validate A Password
I have created one of those change your password forms whereby the the old password and new password are provided.

What I am having trouble with is ensuring that the old password entered actually exists already. Below is what I have tried, but I am getting a syntax error:

Code:

'Check Password

if request.form("CusPassword")<>rsCheckUser.fields("CustomerPassword") then

response.write "Invalid password"

end if

Else

if request.form("CusPassword")= rsCheckUser.fields("CustomerPassword") then

'write new password to databasestrSQL ="UPDATE Customer Set CustomerPassword ='"& NewPassword& "',CustomerPasswordverified ='"& NewPassword& "' where CustomerEmail = '"&CusEmail&"' "

Password Validation
I want to create a password validation system..... There are two text boxes.... I want to make sure that the passwords are the same and that they are more than 8 characters.

Password Encryptor
Im planning to encrypt the password that was stored on msaccess database and
also the text inputed from a password textbox. Also, if I want to get the
password from the database, I need to decrypt it so it can be comparable to
the one that is inputed on the textbox. Is there a way on how to handle
this?

Send Password
thanks to sitepoint forum,i am requesting a problem about forgot password .
if user forgot his/her password how can i retun his/her same password in email address?
i did like this:
......................
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="your password"
myMail.From="codes"
myMail.To=ml 'ml var return current email address
myMail.TextBody=yrpass 'yrpass variable return password
myMail.Send
set myMail=nothing
%>
...................

Change Password
does anybody here have codes for "change password"?i am using dreamweaver 8 and MS Access

How Can I Check A Password?
I have a form and iwant to check if the password which gives the user is between 3 to 6 characters "alpanumeric" there is something in asp code to do this?

Password Requirements
Any thoughts on requirements for a password?I've been thinking about
the following

Minimum six characters
Must contain at least 1 number and at least 1 letter
Cannot contain the user's first or last name
Cannot contain the user name of the person's email address
Cannot contain the domain name of the person's email address

Password Checking
i wanted some help in the bewlo subject i tried in different code but some time it is showing wrong error.is anybody give me the example or site linke where i can donwload the the password checking script from database.
I have pulled data from database and shown those user name in suer tab ( drop dwon box) user need to select the his name and to type password.once user type the password it should check with database . if it exists then it should capture that user name and move on to next page.

XP Username Password
How to use WIndows XP login username and password for ASP 3.0 Authentication, for access to a website directly without any further, second authentication by ASP page?

I have MS SQL Server database, ASP 3.0 website, and ASP 3.0 based authentication. I want to use a Windows XP username, make a table with approved usernames, check Windows XP username and password against the mentioned table, and finally - user can access the site without second authentication by ASP page. Of course - everything should work in IE.

Recover Password
I am using OE6. Instead of using the Main Identity, I'm using another one;
it helps cut down the spam. Somehow it switched back to the Main Identity
(I didn't fiddle with it) and the other is password protected. Either I
have forgotten that password or it isn't responding. How can I recover the
password, which is where all my legitmate email is found?

Serveral Password
i have new task again.. and i dont know where to start. maybe it seems easy to all of u but i m new and still learning.. so pls forgive me hehee..
i was told to make serveral changes to their shopping cart.
1) Upon user's first login, the system will prompt the users to change their password.(which means every user share a default password tats y they mus change)
2) The system will prompt the user to change their password every 90 days.
3) The System will allow the users to change their password to the same 1 for 10times.. after which.. they cannot use back
the same password again.
4) Every password change must be saved as a log into the db..
yah thats all abt it.. but it actually links from 1 to another.

Forgotten Password
I am trying to write a little script to return a users password, but am getting an
error message : "Email address you entered could not be found.The details entered were incorrect." What am I doing incorrectly? the password is in the DB Code:

Cant Update Password
i have a problem with this password change script. i have test it and i keep getting 'Current Password does not match your password in the database' . in the script, the user must login with the username so that he can access the password change page and make change to the password.

The code which i highlight in red is to have the script recognise the user . the pass=("Customer") is actually to detect the username's password from the Customer's table in database. The field in the Customer's table is User_Password . I have look and relook the code myself but I cant seem to figure out anymore. Code:

QueryString & Password!
An ASP application retrieves records from a SQL Server database. In the
first page of the application, the user has to enter a password & the
columns retrieved from the DB table depends upon the password. For e.g.

if the password entered is say, pwd1, then that user should be
displayed the records of Column1 & Column2 only. If the password
entered is say, pwd2, then that user should be displayed the records of
Column1 & Column3 only. If the password entered is say, pwd3, then that
user should be displayed the records of Column1 & Column4 only.

Now after the records are displayed, the user should also be given the
option of sorting the records. I am implementing this by making the
column header a hyperlink which has the column name & the sort order as
the querystrings, something like this (the records are being displayed
in a tabular format): Code:

Password Lookup
I need help with a simple (well not so simple for me) password lookup script that will email a user their pw when they put their email in an input box. I have the db set up and the connection enabled but need some help w/ figuring out how to set it up to mail these out.

Password Popup
In my asp I need to make a popup that is like a windows password change, a space for old password, new and new again.

I don't really know how to make a popup that does anything other than display text. I would also need to know how to retrieve the data off of the popup for the actual change of the password. Code:

Username And Password
i would like users to be able to login using a username and password stored in an MS ACCESS database. there is a customer table which stores the username and passwords as well as other customer details such as customer name, address etc. i would like the users to login and then when the login i succcessful, be presented with ONLY THEIR data which they can edit.

Mask Password
Is there a script that I can put in my coding of my Homepage.asp that when a student enters a password instead of it being shown (i.e. 6754345) it will be shown as (i.e. *******)

User Name And Password
Is it possible to create a blog on Asp?how can i create a page where you can't access unless log in by user name and password. Link to tutorial works just fine for me!

NT Account Password
I was asked by a client to make changes for their Outlook Web Access page where I need to validate Expiry Date of the Password and also the Password Length for the NT Account Policy. Initially I use javascript to do a static validation for the password expiry and password length. There request now include dynamic changes to the Javascript where if the password length is changed on the NT Account Policy, it will reflect on the client side script. Also they request for server side validation as an alternate just in case.

Can someone point me to the resources available for this. I am stuck on this one for quite a while now and no idea on how to proceed?

Password Protect PDF
Ok, this is the setup:

I have archived PDFs, but I want to restrict access to them to members only. Right now, my members only site uses a session variable to log in users.

Is there anyway to set it up so that users cannot open the PDFs unless they're logged in???

The problem is the members only site is seperate from the site where the PDFs reside. That is, a user goes to mymagazines.com and searches for sometext, and a list of links pops up with all the relevant matches, mostly PDFs. This entire process, is free for all to use.

But when they actually click on the link to the PDF, I want them to log in to the members only site. Is there any way to do this?

Password Storing
When I'm creating database driven asp applications, I store my constants,including my connection string to the database within an asp file calledconstants.asp. All constants are stored inside asp coding <% ... %> so people can't save the data through the web.

I've been told this is an insecure way of storing the connect string becuase my connect string would also store the username and password to connect to the db.what is the current standard for storing an connect string to a database for asp applications?

Password Retrival
I have a service which provides video clips with a subscription service, and I have a few big corporations using it. These big corporations all use the same login and password for their company, but the users requesting the passwords will all have different emails, but the part after the @ will be the same. I.E mruser@microsoft.com.I need a script that will only check that part of their email, and based on which one it matches it will send them the correct password for their company.

Password Script.
I'm looking for a ASP log-in script that can be used to access a "secret" page, that is hidden from the public unless the correct Username/Password is given.I'm not experienced in ASP but I know my way around HTML. So something that is easy to set up, relatively easy to use, and easy to update (such as adding new names/passwords to the access list) would be very handy.

I intend the include a Username/Password form on each page, giving members of the site the opportunity to login on each page.There will be no opportunities to post/upload anything so I don't think using cookies or what not would be necessary. All I need is a script that will redirect them to (a) A fake page, if the password is wrong, or (b) To the correct page, if the password is correct.

Password Protection
After trying out 3/4 password scripts which I've used before and won't work today.I've come to the end of my tether! I need a ready made script asap to password protect a set of webpages, something simple with login and p/w for one user.

Username Password
I have a Username:, Password:, Sign In and Regester Here at my Main Page. And at my Regester Page I have a First Name:, Last Name:, Address:, Date of Birth:,Status:, Country: and ZipCode. And also at my Database Name is Info.

All I want is that when a User Log In a Message will display and say's (You are not Regestered, Sign Up First...), but If he is already regestered he can sign in by using his username: and password:. Please!, can anyone give me an ASP Code on this.

Not A Valid Password
I'm using a ACCESS database that has a databasepassword. In the connection string I'll provide the password as follows:

MM_test_STRING = "dsn=test;pwd=test;"

This works fine on IIS 5 but on IIS 6 on Windows Server 2003 I'll get the
followwing error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Not a valid password.

When I'll remove the password the DSN works fine also.

Password Requirements
On my page, an admin sets up accounts, a password is generated at random and sent to the user via email, when the user logs in for the first time they are required to change their password (this is done by setting a database value to 0 when the account is created, when logging in that value is checked.

if its 0 they must change the password, if it is 1 then they are redirected to the correct page). I want to require the user to enter a password 6-12 characters, and require the use of both letters and numbers (at least 1 letter, at least 1 number, and at least 6 characters, but no more than 12.) How can I verify this is done?

Changing Password In ASP
i want to know how to change the password or replace it with new password and for more details see the attachment. note that i am using Dream weaver for development and Access database to save users information.

Password Protection
where can I get straightforward step-by-step instructions to password protect part of a site?


Copyright © 2005-08 www.BigResource.com, All rights reserved