Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Authentication Problem.


Message #1 by "crazyaspconsultant" <bala_isme@y...> on Tue, 19 Jun 2001 05:12:58
Hi all...

              I have a ten htm static page web site. I can use asp page 

for login purpose only. Once the login is satisfied the user has access to 

all the htm files. Those htm files are confidential files ( mostly 

contrcats as htm files). So i am not allowed even to add a dot in those 

files and those are generated by the legal dept. 

             Now, i want to redirect all the users whoever tries to access 

the htm page by typing the full url in addressbar, to the login page. 

Remeber, those contracts are HTM files so i cant write single single asp 

script as well as i cant use any 'includes' to maintain the user validaty 

state. Any suggestions? Whether it can be done thru some iis settings?

Any help would be appreciated.



Regards,

crazyaspconsultant.
Message #2 by "Teemu Keiski" <wroxhelp@m...> on Tue, 19 Jun 2001 10:17:43 +0300
This isn't exact answer to your question but I would do it so that I

wouldn't keep those html files on web server's publishing folders(mean web

site folders) at all. I would keep them somewhere else on the web server's

file system and when user logins succesfully, copy them to web site folders

from their location( with Scripting.FileSystemObject) so user can browse

them(copy on folder that will be created with the name of user's session id

so they won't mix up with other user's sessions).



When session ends(I presume that user ends it by clicking some "End/Quit"

link or button,otherwise it's quite unreliable),  you can delete these html

files from the folder and folder itself after that.



Teemu Keiski





-----Original Message-----

From: crazyaspconsultant [mailto:bala_isme@y...]

Sent: 19. kesäkuuta 2001 5:13

To: ASP Web HowTo

Subject: [asp_web_howto] Authentication Problem.





Hi all...

              I have a ten htm static page web site. I can use asp page

for login purpose only. Once the login is satisfied the user has access to

all the htm files. Those htm files are confidential files ( mostly

contrcats as htm files). So i am not allowed even to add a dot in those

files and those are generated by the legal dept.

             Now, i want to redirect all the users whoever tries to access

the htm page by typing the full url in addressbar, to the login page.

Remeber, those contracts are HTM files so i cant write single single asp

script as well as i cant use any 'includes' to maintain the user validaty

state. Any suggestions? Whether it can be done thru some iis settings?

Any help would be appreciated.



Regards,

crazyaspconsultant.



Message #3 by Bala Ramachandran <bala_isme@y...> on Tue, 19 Jun 2001 00:58:35 -0700 (PDT)
Thanx Teemu...

         It seems great.. Now have to program with

filesystem.scriptingobject().. Anyhow, i just siad as

10 html files as for example but actually its 1000's

of file .. and the size goes around 16 mb. Its almost

a 130 folders(including the no.of subfolders). Is it

ok to follow this method? Anyhow, how the static sites

currently deal with this problem.. any suggestion

please..



regards,

carzyaspconsultant.



--- Teemu Keiski <wroxhelp@m...> wrote:

> This isn't exact answer to your question but I would

> do it so that I

> wouldn't keep those html files on web server's

> publishing folders(mean web

> site folders) at all. I would keep them somewhere

> else on the web server's

> file system and when user logins succesfully, copy

> them to web site folders

> from their location( with

> Scripting.FileSystemObject) so user can browse

> them(copy on folder that will be created with the

> name of user's session id

> so they won't mix up with other user's sessions).

> 

> When session ends(I presume that user ends it by

> clicking some "End/Quit"

> link or button,otherwise it's quite unreliable), 

> you can delete these html

> files from the folder and folder itself after that.

> 

> Teemu Keiski

> 

> 

> -----Original Message-----

> From: crazyaspconsultant

> [mailto:bala_isme@y...]

> Sent: 19. kesäkuuta 2001 5:13

> To: ASP Web HowTo

> Subject: [asp_web_howto] Authentication Problem.

> 

> 

> Hi all...

>               I have a ten htm static page web site.

> I can use asp page

> for login purpose only. Once the login is satisfied

> the user has access to

> all the htm files. Those htm files are confidential

> files ( mostly

> contrcats as htm files). So i am not allowed even to

> add a dot in those

> files and those are generated by the legal dept.

>              Now, i want to redirect all the users

> whoever tries to access

> the htm page by typing the full url in addressbar,

> to the login page.

> Remeber, those contracts are HTM files so i cant

> write single single asp

> script as well as i cant use any 'includes' to

> maintain the user validaty

> state. Any suggestions? Whether it can be done thru

> some iis settings?

> Any help would be appreciated.

> 

> Regards,

> crazyaspconsultant.




  Return to Index