Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / This is a little bit about web design. If you know asp please help me.

Author
Message
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 29th Mar 2003 05:57
Hello,
I building a site and I'm having some trouble with my asp.

My host is asp compatible just to set that straight.

I am trying to make a password protected thing but I cant seem to get multiple protected pages. I can get the one but thats it. I want multiple ones with links like this:

www.mysite.com/pass.asp?hello!fjjsks

With a long after link that follows the main one which is pass.asp

Have any advise?
Please leave

Thanks
SmokieMcPot
Future Company Name = Blazing Fire
Current Website Name = Blazing Fire
Future Number is Eleventy
DangYankee
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: United States
Posted: 29th Mar 2003 07:03 Edited at: 29th Mar 2003 07:03
Christ- where do we start on this?
More information is needed. But basically what I do is store username, password, level in a database then when they login pass info from page to page. How you do this well this is the problem on what you are using ie. DreamweaverMX or notepad (lots of luck).

It's not the size of your code but how efficiently you use it!
Xoid
21
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 29th Mar 2003 18:26
aaah, I think I know what smokie is on about, do you mean;

when you login, the ONLY people you want view these pages are the authorised users? if so, your gonna need to use Sessions/Cookies to achieve this.

you can set your ASP pages (via code) to delete the session from memory after a certain time of inactivity etc...

If you want a secure login script I will provide you with one.

if I haven't understood you correctly please clarify.

Do not anticipate the outcome of the engagement, let nature take it's course, and your tools will strike at the right moment - from "Tao of Jeet Kune Do" by Bruce Lee
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 29th Mar 2003 19:23
Well,
I am going to leave the password protection that I downloaded.
It's called dbauth and I downloaded it from http://www.aspemporium.com/
Don't remember what I clicked on to download but its there.

There are three files:
mydata.mdb
restrictedAccessDb.asp
cls_DBAuthorization.asp

Well I dont want to give what I have inside of it, because on my old CGI-Script I was hacked into. Don't Know how but I want to be extra safe.

But let me give another example.
Look at the top in the url of this page. Well it looks like this.
http://www.darkbasicpro.com/apollo/view.php?t=8041&b=2#reply

I'm guessing view.php was the starter link. Then stuff builded on top of it.

I know the same thing happens with asp. I really dont think its possible to have multiple pages inside just the one view.php. Thats why stuff gets put behind it. That also signifies I am logged in.

Anyone have any advice for me now? Or do you guys need more info?

Post back please.
SmokieMcPot

Future Company Name = Blazing Fire
Current Website Name = Blazing Fire
Future Number is Eleventy
DangYankee
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: United States
Posted: 29th Mar 2003 22:07
Iam in a hurry today so breifly , you really need to understand secuity of the platform you running ie win98SE IIS, or whatever. Because that determines how to protect your pages, ie read, write , execute only, run scripts, WRITE scripts etc..., then there is the database secuity, hows it's accessed and where it is. Iam not trying to make this long and hard but to do it right there is a lot to consider.
So please list out what platform such as IIS -what version, patches, SP etc...

Also I think everybody wants to help but you really need to join a ASP forum , just because you would get more help there than on a programming site. I am speaking what I would do.

It's not the size of your code but how efficiently you use it!
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 30th Mar 2003 18:16
I'd actually recommend PHP for sessions, but that's my preference )

You are the th person to view this signature.
Programmers don't die, they just [b]Gosub
without return....

Login to post a reply

Server time is: 2024-05-09 17:51:36
Your offset time is: 2024-05-09 17:51:36