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:
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
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
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.
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 .
Does anyone out there know how to encrypt the entire ASP file? That means when a person tries to view my ASP source code, it will display as rubbish. Can't use Script Encoder (srcenc.exe) cause out there in the market exist a freeware Script Decoder (scrdec.exe) which can easily decode back the file to its original state.
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)...
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?
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?
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.
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.
I have a database that holds information in many tables. I have created an "Update" and an "Insert" form in dreamweaver MX 2004 which work fine but it allows me to add duplicate names in to the database. Does anyone know of any codeto stop this. If possible i would like it to bring up a pop up saying "Client Name Already Exists" etc
I have an .asp page that correctly queries a table and returns data if a 'job number' and week ending date exist and the user can update the information that is there. What I need to do is, if a record does not exist the page needs to create one and then refresh/requery so the user can edit the data. Any suggestions on how to accomplish this?
i have a textbox for user to put there loginid...and one button login valiablity...where user can click to check this userid is available...till here everything is ine...suppose between this another user registerd with same userid..and now first user will put this user id than it will get non avaliblity of this id.so in such case what should i do?
I have built a page that lists all our databases, the users connected to each database, and what application they are using. Because these databases are moved, or removed from time to time I need to check if the database still exists before trying to query it. Otherwise I get funny SID errors when it tries to process this command:-
Just wondering if someone could look at this and see where I may be going wrong. The basic concept is to use FileSystemObject to see if an image exists. If it does, display the image. If not, display image does not exists message.
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") strFilename = ="e:path oimageprodPixscienceTN" & (RecordSet1.Fields.Item("ID").Value) & ".jpg" If (fs.FileExists(strFilename))=true Then %> <%=(Recordset1.Fields.Item("ID").Value)%> <% Else Response.Write("No Image Available") End If set fs=nothing %>
I populate a recordset and dump it into an array. How can I check if a value exist in the array? I want to check if the c_Member_mgr has a particular value or not?
Dim rs2 set rs2 = Server.CreateObject("ADODB.Recordset") rs2.open sub_Emp_Source, Conn
Dim aSubordinates
If not rs2.EOF then
aSubordinates = rs2.GetRows()
'Close Recordset to use the new array with the 2 columns data rs2.Close() set rs2 = Nothing
'Declare Constants for the above SQL columns for better readability 'Use these Constants instead of referring to the array numeric indexes Const c_Member_Mgr = 0 Const c_Subordinate = 1 Const c_EmpID = 3 Const c_EmpName = 4
I'm building some dynamic image links based on if the image file exists. How can I check 'if files exists' using asp or javascript? I've messed around some with FileSystemObject but so far no success.