Solved

login dialog to control the access of HTML pages

Posted on 1998-12-15
6
247 Views
Last Modified: 2010-04-09
How to create a login dialog like experts-exchange login, to control the access of HTML pages (WINNT4.0) ?
0
Comment
Question by:olcay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:dangel
ID: 1840662
It depends on the platform your server is running and how secured you want to make it.
Let us know if it's IIS, PWS, Unix or other server and what kind of access you have to the server.
0
 

Author Comment

by:olcay
ID: 1840663
Hi Dangel,

I use the xitami web server on WINNT4.0 and the securty is not very important.

thanks Olcay
0
 

Author Comment

by:olcay
ID: 1840664
Adjusted points to 100
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:toros
ID: 1840665
If you're running on a WinNT Server and have access to the server the easiest way to control the access to your pages (or directories) is to use the NT file-level security. You just set the access to the internetuser (usually IUSR_MACHINENAME or something like that) to No Access. Then you create a new user with the desired login name and password and give it acess to the files or directories that you want.

Tor Olaf
0
 
LVL 6

Accepted Solution

by:
PBall earned 100 total points
ID: 1840666
2: Help - I don't understand how to define users and passwords!  

Xitami uses two separate user/password systems, one for web pages and one for FTP access. To start with, create the defaults.cfg and defaults.aut file as described above. Then, for each webpage directory you want to protect, add an entry in defaults.aut. Enter the URL directory with or without a leading '/' - it does not matter. Add each user with their password. For instance, to say that only 'John' and 'Janet' can get at webpages starting with '/personal', you write something this:

[/personal]
    john=Go96xas883
    janet=Yhs7gsr73

(I'm inventing silly passwords here.)
For FTP access, you need to define each FTP user separately. First, add these lines to defaults.cfg:

[Ftp]
    Directory-file=ftpdloc.aut
    User-file=ftplocal.aut

Now you can edit ftplocal.aut to define users. The file ftpusers.aut shows what's allowed. For example, to define an 'anonymous' user, who connects to the ftproot/pub directory with read access only, write this in ftplocal.aut:
[Anonymous]
    Access=G
    Password=*
    Root=/pub

A fairly classic setup is to define a personal web space for each user which they can update using FTP. Be careful with this, since it's possible to set things up so that any user can run a CGI program (unsafe on Windows systems). However, this is how you do it:

For each user, create a directory below the ftproot with the user's short name.
Create an FTP account as described above. Use the access rights GPD, and MR if you want allow them to create/remove directories.
Define an HTTP alias that points to this directory. For instance, in defaults.cfg:
[Alias]
    john=ftproot/john

If you also want these webpages to be private (password protected), add an entry to defaults.aut:
[/John]
    john=Gsh65sgs12

you should go to this site since they are the one who created that web server for more info:
http://www.imatix.com/html/xitami/index13.htm

0
 

Author Comment

by:olcay
ID: 1840667
Hi PBall,

thank you very much.  I have solved with your support my problems.

Regards Olcay
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question