PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 1.00 average.

How do I hide the URL?

 
 
=?Utf-8?B?TWlndWVs?=
Guest
Posts: n/a
 
      15th Apr 2005
I have a password ASP page using VBsSCRIPT which, when logged in, redirects
to a "Default.htm" page. However, one can type in the URL and add the
"Default.htm" at the end to "backdoor" into the site without a password.

How do I make it so that adding the "Default.htm" will not allow immediate
access to the website, bypassing the login?
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      15th Apr 2005
Make it default.asp and test for a variable that is only created/assigned when the user has logged
in.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Miguel" <(E-Mail Removed)> wrote in message
news:149C26B5-2744-43AB-823B-(E-Mail Removed)...
>I have a password ASP page using VBsSCRIPT which, when logged in, redirects
> to a "Default.htm" page. However, one can type in the URL and add the
> "Default.htm" at the end to "backdoor" into the site without a password.
>
> How do I make it so that adding the "Default.htm" will not allow immediate
> access to the website, bypassing the login?



 
Reply With Quote
 
=?Utf-8?B?TWlndWVs?=
Guest
Posts: n/a
 
      15th Apr 2005
That makes sense; however, I borrowed the VBSCRIPT from someone else and have
no idea how toadd the test for a variable.

"Thomas A. Rowe" wrote:

> Make it default.asp and test for a variable that is only created/assigned when the user has logged
> in.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "Miguel" <(E-Mail Removed)> wrote in message
> news:149C26B5-2744-43AB-823B-(E-Mail Removed)...
> >I have a password ASP page using VBsSCRIPT which, when logged in, redirects
> > to a "Default.htm" page. However, one can type in the URL and add the
> > "Default.htm" at the end to "backdoor" into the site without a password.
> >
> > How do I make it so that adding the "Default.htm" will not allow immediate
> > access to the website, bypassing the login?

>
>
>

 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      16th Apr 2005
Then maybe you should either hire someone to do it for you, or hit the books
/ web for instruction.

Bob Lehmann

"Miguel" <(E-Mail Removed)> wrote in message
news:AEFC78A7-6539-4477-B20B-(E-Mail Removed)...
> That makes sense; however, I borrowed the VBSCRIPT from someone else and

have
> no idea how toadd the test for a variable.
>
> "Thomas A. Rowe" wrote:
>
> > Make it default.asp and test for a variable that is only

created/assigned when the user has logged
> > in.
> >
> > --
> > ==============================================
> > Thomas A. Rowe (Microsoft MVP - FrontPage)
> > WEBMASTER Resources(tm)
> > http://www.ycoln-resources.com
> > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> > ==============================================
> > To assist you in getting the best answers for FrontPage support see:
> > http://www.net-sites.com/sitebuilder/newsgroups.asp
> >
> > "Miguel" <(E-Mail Removed)> wrote in message
> > news:149C26B5-2744-43AB-823B-(E-Mail Removed)...
> > >I have a password ASP page using VBsSCRIPT which, when logged in,

redirects
> > > to a "Default.htm" page. However, one can type in the URL and add the
> > > "Default.htm" at the end to "backdoor" into the site without a

password.
> > >
> > > How do I make it so that adding the "Default.htm" will not allow

immediate
> > > access to the website, bypassing the login?

> >
> >
> >



 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      16th Apr 2005
In the login script before redirecting add a session variable for successful log in
<%
Session("Authenticated") = 1
Response.Redirect "Default.asp"
%>

In your pages add a check for the authentication
<%
If Session("Authenticated") = 0 Then
Response.Redirect "YourLoginPage.asp"
End If
%>

All pages must be .asp (not .htm)
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Miguel" <(E-Mail Removed)> wrote in message news:AEFC78A7-6539-4477-B20B-(E-Mail Removed)...
| That makes sense; however, I borrowed the VBSCRIPT from someone else and have
| no idea how toadd the test for a variable.
|
| "Thomas A. Rowe" wrote:
|
| > Make it default.asp and test for a variable that is only created/assigned when the user has logged
| > in.
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| > http://www.ycoln-resources.com
| > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| > "Miguel" <(E-Mail Removed)> wrote in message
| > news:149C26B5-2744-43AB-823B-(E-Mail Removed)...
| > >I have a password ASP page using VBsSCRIPT which, when logged in, redirects
| > > to a "Default.htm" page. However, one can type in the URL and add the
| > > "Default.htm" at the end to "backdoor" into the site without a password.
| > >
| > > How do I make it so that adding the "Default.htm" will not allow immediate
| > > access to the website, bypassing the login?
| >
| >
| >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to Hide columns in spreadsheet but NOT hide data in chart. KrispyData Microsoft Excel Charting 1 20th Mar 2009 04:45 PM
hide all text between [ ] (square brackets) and hide thebrackets. jbesr1230 Microsoft Word Document Management 1 9th Apr 2008 06:20 AM
Clicking Show/Hide Button still can't hide the arrows-formatting m =?Utf-8?B?Y3V0ZSBtb3VzZQ==?= Microsoft Word Document Management 1 10th Jun 2007 04:27 AM
Specify which rows to NOT hide, and have excel hide the rest =?Utf-8?B?TW8y?= Microsoft Excel Programming 0 25th Apr 2007 03:44 AM
TOC field codes will not hide when commanded by HIDE/SHOW tile. =?Utf-8?B?UkVDT05TTUlUSA==?= Microsoft Word Document Management 1 22nd Feb 2007 09:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:05 PM.