creating user ids and passwords for a link in web site

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how do i create a link that restricts access to the link using set ids and
passwords so that only certain people can view the page?

Josh
 
If everybody will have the same id and pw, then create a form page with 2 text inputs, and
a submit button. For the action of the submit goto argle.asp.
In argle.asp
<%
If (UCase(Request.Form("NameOfYourIDtextBox") = "MYID") and
(UCase(Request.Form("NameOfYourPWTextBox) = "MYPASSWORD") then
response.redirect("MyGoodPage.html")
Else
response.redirect("MyLoginErrorPage.html")
End If
%>
Putting argle.asp in a hidden folder (_MyFlowerPix) makes this a tad more secure.
If each user has their own login, then agrle.asp will need to read a database.
This supposes you are on a server that supports asp.

If each user will have their own login, the argle.asp will need to read a database to amke
the match.

There are native FP/server ways too, but I'll leave that to someone else, as I don't use 'em.
MikeR
 
k i want to put just one id and one password field after i click on a link i
want the user id and the password box to pop up and prompt for user id and
password. But i would like an example of how to do multiple ids and
passwords. it might be easier just to email back and forth you can email to
(e-mail address removed)

Thanks
Josh
 
I would greatly appreciate it if you could walk me throught where and how I
am supposed to put this form into frontpage. I am not very familar with forms
in frontpage.

Josh
 
If you want to have multiple users, then you will need to use a database and server-side scripting
or your web host will have to let you create FP subwebs with unique permissions.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
For a single login for all users
See http://support.microsoft.com/default.aspx?scid=kb;en-us;825451
Your host will have to support subwebs and unique permissions under the FP Server Extensions

For multiple logins for different users it depends on your hosts OS and what they support
For a Windows Host that supports ASP & Access DB
See http://support.microsoft.com/default.aspx?scid=321439
--




| could you please explain what this form does and walk me through what it means.
|
| Josh
|
| "MikeR" wrote:
|
| > If everybody will have the same id and pw, then create a form page with 2 text inputs, and
| > a submit button. For the action of the submit goto argle.asp.
| > In argle.asp
| > <%
| > If (UCase(Request.Form("NameOfYourIDtextBox") = "MYID") and
| > (UCase(Request.Form("NameOfYourPWTextBox) = "MYPASSWORD") then
| > response.redirect("MyGoodPage.html")
| > Else
| > response.redirect("MyLoginErrorPage.html")
| > End If
| > %>
| > Putting argle.asp in a hidden folder (_MyFlowerPix) makes this a tad more secure.
| > If each user has their own login, then agrle.asp will need to read a database.
| > This supposes you are on a server that supports asp.
| >
| > If each user will have their own login, the argle.asp will need to read a database to amke
| > the match.
| >
| > There are native FP/server ways too, but I'll leave that to someone else, as I don't use 'em.
| > MikeR
| >
| > Josh Davis wrote:
| > > how do i create a link that restricts access to the link using set ids and
| > > passwords so that only certain people can view the page?
| > >
| > > Josh
| >
 
anyone with any other suggestions outside of using asp or frontpage
extentions. What about using a javascript?
 
If you want security, you need server-side scripting and/or
permissions, using FPextensions, ASP, asp.NET, PHP or Perl/CGI, or
whatever your host will support.
You can use JavaScript to restrict access to a page - until someone
looks at the URL of the page in the browser, then the security is
gone.
See www.rxs-enterprises.org/tests/jspass/ for one method of doing
this. But secure? - it isn't.
 
Back
Top