I have seen one table in which while selecting records from that table and viewing the resultset in Grid format the passwords was coming in encrypted form means suppose the password was 'super' but in the resultset set it seen as n or some other letter. But if the same resultset was viewed in Text format then the actual password was seen...
If you have worked with php-mysql, you might have noticed that there is a featured to encrypt a password while inserting it in the database using the password() function.
I am looking for a similar feature as i am working with asp as frontend and mysql and ms sql server as my backend.
If you have not used php-mysql then ignore the above and tell me if there is any function to encrypt the password while inserting it to the database using ASP? (for both mysql and mssql).
Dim paramPwd as SqlParameter paramPwd = New SqlParameter("@Password", SqlDbType.Binary, 16) paramPwd.Value = hashedBytes objCmd.Parameters.Add(paramPwd)
I have been able to Encrypt my password, but now I am struggling to Decrypt it and i need your suggestions again. Now how i can Decrypt the password that is stored in my DB as binary form.
I'm having a problem with a shared ssl cert from the host. I'm trying to pass 8 fields from an encrypted page to a redirect page that is encrypted and then to the final page which is also encrypted to store the data.
These page names are similar to the setup but are renamed here as: ....
I am pulling in data from a sql table. For some reason, when I include the following line:
<tr><td><b><%if rs("Street_dir")<> "" then response.write rs("Street_dir") & " " end if%> <%=rs("Street_num")%> <%=rs("Street_name")%> <%=rs("Street_suf fix")%></b></td></tr>
then the following line does not display:
<tr><td><%=rs("remarks")%></td></tr>
The REMARKS data is blank. But, if I remove the upper address line, then the REMARKS appears. The address is 1111 Main so that does not seem to be the issue. The address information is VARCHAR fields, 255 characters.
This works fine on another server where my files used to be, but I just moved to a new server.
I have a asp input form of a financial report. Here most of the fields are text boxes where the user need to input the values corresponding to an item.
However, there are few items which are calcuated field. Prior to submission of the information, I would like the user to know what the calculated field be (based on the information input in text boxes) before submission of the form. Is there any way to display the calculated value before submission in ASP?
I have a form that I want the user to fill out. If they dont fill out the whole thing, I want the form to reload and an error message to be displayed at the top of the page. Here is the jist of my code:
When I press enter on my Password field in my asp page it submits the form. If I do this in a straight HTML page it doesn't submit the form. I don't want the form to be submitted until the submit button is clicked. Has anyone got any ideas on this please?
Also, I know that the Java code to submit a form is frmForm.Submit(). Is there an asp equivalent? Is there an alternative to using Repsonse.Redirect?
I have a form that i'm using to collect a NEW users username, password, confirm password and email address.
I cannot seem to grasp the concept of the various ways to "validate" these fields. Here is what i'm needing.
*Username field is required (cant be left empty) and doesn't match any current username records - I do have the form going to a page that does the SELECT WHERE blah blah and has the rs.eof thing but I'm not sure how this is fitting into the part where we make sure its not blank. Also when there is an error, I was hoping it would redirect them back and leave the "correct" data in the spaces. Mine seems to empty every last field even the correct ones. Is there a way to only change or blank out the wrong fields?
*Password required (cant be left empty) and both fields match.
I have something like this so if they do match, it continues on ....
I am new to asp. I am trying to setup a log-in screen and am having trouble figuring out how to set the session cookie. I found the bit of code below, and it works if I enter a specific 'email' and 'password' into the "if" statement, however we have multiple users logging into the section. How can I set it up so that if the form is successfully submitted using any of the multiple email/password combos then it creates the session?
Example found...
<% Username=Request.Form("email") Password=Request.Form("Password") If email="emailaddress" AND Password="password" Then Session("Loggedin")=True End If %>
I would like to save my user's passwords as an encrypted sting. Are their built in functions for doing this? It's not financial data or anything, just to keep away prying eyes.
I have a javascript code which take string and encrypt it since the encrypted string contains unsafe characters I am calling URLEncode ,but than the result string is much to long in order to pass in in the URL(i must use this method.
i have a file that i should have access to that i need to edit that looks like the content is encrypted or something. any way i can get the code out of the file?
I have a login page, which is not in SSL. However, the script that processes this information is. While that information passes to the login page to the page that processes this information, is this information encrypted?
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?
I created sessions to authenticate username and password. How can I utilize this same script to alert the user to change password at 3rd login? In other words when a user logs into a site after the 3 or 4th time which ever, they are prompted to change their password. Code:
Can anybody help me with displaying two xml content in a asp page. i want it to be shown with collape and expand feature (with those + and - feature when an xml file is opened in explorer).
i tried having html frames but i am not able to add menu in the same html page. right now i have menu and two text boxes to display this xml content. i want to use something else instead of text boxes to display xml in indented form. i thought i could use browser component in asp page but it doesnt work.
I have an active-x control on my asp that loads a wmv video file.But i have a problem viewing the video until i have download the whole video on the active-x control.
Is there a way to see a portion of the video without complete download?
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but no use. This is working fine on win2k IE6.Here is the html file I am using to display the tif file.
I make a intranet Project For a Company.In that Project i make some reminders that can send each other users.When the Reminder come it should be alert like yahoo or Msn means Reminder should be show right side of the Taskbar and it's come like fade.
i have just uploaded the new files to a website i have rebuilt. I have refreshed IIS and restarted the website but the new files are not showing through on directories that existed before eg subscribe etc. The new directories that didnt exist before work fine but would the internet connection in our office be caching previous pages that are no longer there and trying to access them?
I'm really trying to make this work. I have a dbtabel with following fields.
ID PlayerID Date Point
I want to show each players point like this "1,2,5,6,4,8,9", but i want the script to first add up which player who has the most points, and then list them in order of wich player who has the most points...
1,3,5,6,4,5,9 2,1,1,3,2,3,6 2,5,6,4,1,1,0
Each row is each PlayerID's row. Is this possible.
my problem is The updates on my asp files are not reflected in the browser. Till recently everything was working fine.
Today I installed new updates on my windows 2000. After all the cached asp contents are appearing and the updates are not getting refreshed. I dont know if this is becoz of the updates on my OS.
I had a file addfield.asp. It was working fine, I made some changes and they worked. But after that my updates are not reflected. If I rename the file to addfield1.asp. I am getting the desired results. Again if I change the contents of this file, they are not appearing.
why some of my graphics wouldn't be showing up? I'm using css and everything looks fine in dreamweaver until I upload it then half my graphics are not visible on the page but they are there because I can still click on them, I just cant see them. Any reasons?
I inherited a database driven site, which displays events pulled directly from an access 2000 database. when these events are edited in the admin system, or when a new record is added (again via the admin system), the record will no longer show up as being editable on the choose_event.asp page. I checked the database, and the changes are being made.
ok so I wrote a template based CMS.... A small company requires a website, they come to my site www.mutedesigns.co.uk/sbs and choose a template, pay, register, edit ther details and pages and then view their site simple and it all works yay! Code:
I'm working on a Intranet, and found this code to list the contents of a directory. However, the only directory I've been able to show is the dir where the script itself is (Inetpub/Scripts).
How can I redirect to a directory somewhere else on the network ? Code:
I have a table called 'players2005' with fields of 'player' and 'pdob' The 'pbod' is a DATE realted to the players date of birth.
Using ASP how can I call the access database to show members that date of birth is today. I have the rest of the script but just nedd a SQL statement Code:
I've been working on a page at work, which has been fine, yet when ive come to try it at home, i load the page (the page loads fine) but i see all the code etc that was hidden before.
example what i see at the top of the page:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%<% OPTION EXPLICIT %<% 'dim oCdoMsg, oCdoConfg, st
but i see tons more than that, basically all the code to the next %>