RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3628 | Replies: 7
Reply
Join Date: Oct 2005
Posts: 17
Reputation: JC_2000 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
JC_2000 JC_2000 is offline Offline
Newbie Poster

URL Hacking

  #1  
Apr 20th, 2006
Hi everyone,

Can anyone tell me how you can stop users from URL Hacking your website?
So for example if you have a password and username form on the front of your website and only want authorised members to gain access to your web site.

So for example just say you had a page e.g: somepage.htm and a user who was not logged in types www.somesite.com/somepage.htm. How can you stop them from getting access to the that page if they are not logged in?

P.S: Do you have any sample code?

Please help,

Jay.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2005
Posts: 17
Reputation: JC_2000 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
JC_2000 JC_2000 is offline Offline
Newbie Poster

Re: URL Hacking

  #2  
Apr 20th, 2006
Sorry forgot to mention, I wanted to know how this is done in ASP
Reply With Quote  
Join Date: Dec 2004
Posts: 1,592
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: URL Hacking

  #3  
Apr 21st, 2006
Post in the ASP forum. There's nothing you can do with HTML or client-side script.
Reply With Quote  
Join Date: Oct 2005
Posts: 17
Reputation: JC_2000 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
JC_2000 JC_2000 is offline Offline
Newbie Poster

Re: URL Hacking

  #4  
Apr 21st, 2006
what do you mean can i ask?
Reply With Quote  
Join Date: Dec 2004
Posts: 1,592
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: URL Hacking

  #5  
Apr 21st, 2006
I mean, if you're asking a question about ASP, then you need to ask your question in the ASP forum:

http://www.daniweb.com/techtalkforums/forum62.html

There is no way to secure a website using only client-side code, which is the focus of this forum.
Reply With Quote  
Join Date: Feb 2006
Posts: 49
Reputation: Esopo is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
Esopo Esopo is offline Offline
Light Poster

Re: URL Hacking

  #6  
Apr 22nd, 2006
I agree you need to ask this at your language's area, but just so you know I wouldn't consider your scenario URL Hacking, since visitors are not doing anything wrong but requesting a public page.

It is your responsability as a developer to make sure pages that need to be secure ARE NOT AVAILABLE PUBLICLY (to begin with). For the most part, the best approach is using sessions and bounce off to the entry page any user that has not started a session with a password.

As the next step, security is a problem even when your URLs are not public anymore. A real hack attempt is about someone trying to get access to pages that you have already secured. To protect yourself from such attacks there are special considerations you need to keep in mind, such as sanitazing any and all user input.
Site admin at NetBulge.com, a place set out to improve the web 1 good article at a time :)
Reply With Quote  
Join Date: Feb 2006
Posts: 49
Reputation: Esopo is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
Esopo Esopo is offline Offline
Light Poster

Re: URL Hacking

  #7  
Apr 22nd, 2006
BTW, just so it's out there,

You can secure areas of your site through server configuration without having to deal with programming, but since you already have ASP in mind I would suggest you use that since it gives you more control.
Site admin at NetBulge.com, a place set out to improve the web 1 good article at a time :)
Reply With Quote  
Join Date: Oct 2005
Posts: 17
Reputation: JC_2000 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
JC_2000 JC_2000 is offline Offline
Newbie Poster

Re: URL Hacking

  #8  
Apr 22nd, 2006
No probs guys will move this topic to the ASP forum.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:11 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC