473,503 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Authentication

First of all, is there a group addressing "Authentication" issues? I've
searched and could not find any - Plz. forgive if I have posted to the
wrong group or direct me to one dealing with these issues {preferred}

Hello!

I am putting together a multi-page sites, MySQL & PostgreSQL pages
included. I'd like to make all pages publicly visible, however on pages
containing defined features such as forms, certain scripts, SSI's etc
the running of these should be restricted to authenticated registered
users. Could someone advise how this can best be achieved. The use of
..htaccess type approaches don't quite do it as they restrict access to
whole directories and below, effectively denying access of the public to
whole sections of the site.

I've wondered about the use of cookies, but not been too familiar with
them have been a bit unsure.

Plz. advise and comment

Thanks!
Adam
Apr 2 '06 #1
2 1182
Adam Smith <ad*******@econ.com> writes:
First of all, is there a group addressing "Authentication" issues?
I've searched and could not find any - Plz. forgive if I have posted
to the wrong group or direct me to one dealing with these issues
{preferred}
The closest fit for server-side programming questions is
comp.infosystems.www.authoring.cgi, but it's understandable that that
wouldn't be obvious.
I am putting together a multi-page sites, MySQL & PostgreSQL pages
included. I'd like to make all pages publicly visible, however on
pages containing defined features such as forms, certain scripts,
SSI's etc the running of these should be restricted to authenticated
registered users. Could someone advise how this can best be
achieved. The use of .htaccess type approaches don't quite do it as
they restrict access to whole directories and below, effectively
denying access of the public to whole sections of the site.
Put text near the forms to let users know they are for registered users
only, then make the ACTION of each form point to a script under, e.g.,
/registered that is restricted by .htaccess.
I've wondered about the use of cookies, but not been too familiar with
them have been a bit unsure.


You really have to know what you're doing to use cookies securely and
effectively. If you can make things work with .htaccess, do so.

--

http://ourdoings.com/ Easily organize and disseminate news and
photos for your family or group.
Apr 3 '06 #2
Thanks - a few more

Bruce Lewis wrote:
Adam Smith <ad*******@econ.com> writes:

First of all, is there a group addressing "Authentication" issues?
I've searched and could not find any - Plz. forgive if I have posted
to the wrong group or direct me to one dealing with these issues
{preferred}

The closest fit for server-side programming questions is
comp.infosystems.www.authoring.cgi, but it's understandable that that
wouldn't be obvious.

I am putting together a multi-page sites, MySQL & PostgreSQL pages
included. I'd like to make all pages publicly visible, however on
pages containing defined features such as forms, certain scripts,
SSI's etc the running of these should be restricted to authenticated
registered users. Could someone advise how this can best be
achieved. The use of .htaccess type approaches don't quite do it as
they restrict access to whole directories and below, effectively
denying access of the public to whole sections of the site.

Put text near the forms to let users know they are for registered users
only, then make the ACTION of each form point to a script under, e.g.,
/registered that is restricted by .htaccess.

I've been running my scripts under `http:/my.domain.com/cgi-bin/ w/ an
alias removed from the document root. So if I were to create a .htaccess
protected directory, viz. /registered as an example, under the doc root,
each time a registered user attempts to run a script s/he would be
forced to go through an authentication step of inputing their
userid/password pair; [Is my thinking correct?]. I was hoping for
something with a more "persistent of state" attribute.
I've wondered about the use of cookies, but not been too familiar with
them have been a bit unsure.

You really have to know what you're doing to use cookies securely and
effectively. If you can make things work with .htaccess, do so.

Apr 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
9262
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
8
3677
by: Bob Everland | last post by:
I have an application that is ISAPI and the only way to secure it is through NT permissions. I need to have a way to login to windows authentication so that when I get to the ISAPI application no...
6
4795
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
9
2493
by: Tom B | last post by:
In my web.config file I've specified Windows for the authentication, in IIS I've set it to Integrated Authentication. But my SQL connection is still showing Anonymous. Is there somewhere else I...
0
4198
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
4
6790
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
0
1507
by: Albertas | last post by:
What I'm doing wrong that I can't make my authentication to work. Here is the situation: I'm hosting a Web Service from a Windows forms application, using .NET Framework 3.0 WCF. And I want to...
18
3385
by: troywalker | last post by:
I am new to LDAP and Directory Services, and I have a project that requires me to authenticate users against a Sun Java System Directory Server in order to access the application. I have found...
2
7500
by: Frank Swarbrick | last post by:
I am trying to understand "client authentication" works. My environment is DB2/UDB LUW 8.2 on zSeries SLES9 as the database server and DB2 for VSE 7.4 as the client. We currently have DB2/LUW set...
5
3529
by: Rory Becker | last post by:
Having now created a Custom MembershipProvider that seems to work correctly with my Logon and ChangePassword controls, I am, as they say, a happy bunny. The next stange is to move on to the...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.