user ID and PW

Results 1 to 3 of 3

Thread: user ID and PW

  1. #1
    lakshmi Guest

    Default user ID and PW

    Have an HTML document which will be published on the internet, however, we need to set it up in such a way that only those individuals who have a user ID and a password can access it. How can I do this if all they will be doing is viewing a document that has been saved as an HTML?<BR><BR>Thank you

  2. #2
    Join Date
    Dec 1969

    Default RE: user ID and PW

    Perhaps check out the following:<BR><BR>Protecting Everything - 8/11/1999<BR><BR>"If a user knew the URL, he could download any file involved."<BR>"The content type for PDF files is application/pdf."<BR>"We&#039;ve only got one more task to perform, and that&#039;s to open the file, and dump its contents to the stream. To do this, we need to use a component, and I&#039;m afraid the FileSystemObject just won&#039;t cut it, since it&#039;s not designed to handle binary files. We will use Software Artisans SA-FileManager V1.1 []. This is a free component [still free as of 5/2001], so go grab it. Once you have it installed, it is really easy to use. All we need to do is the following: <BR> Dim oFM, oBS<BR> Set oFM = CreateObject("SoftArtisans.FileManager")<BR> Set oBS = oFM.OpenBinaryFile(strFileName)<BR> Response.BinaryWrite oBS.ReadAll<BR> Set oBS = Nothing<BR> Set oFM = Nothing<BR><BR>Best regards,<BR>-Paul<BR><BR> - Databases on the Web<BR>

  3. #3
    ray charles Guest

    Default RE: user ID and PW

    just do it the same way you would with an asp page - have an asp page to handle the login stuff then is the user passes the test, send him (using Response.Redirect()) to the html page<BR><BR>if you have any further questions concerning this, please clarify your situation a little better :)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts