Solved

login dialog to control the access of HTML pages

Posted on 1998-12-15
6
240 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
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
.Net Web Site Password specs 2 21
HTML button disabled 11 36
Login area of a page 4 20
Asp.net mvc foreach 3 12
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now