× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I may be missing something here but wouldn't standard .NET not suffice? Try
adding the following rule/s to your web.config file (some examples only
included below). Using Deny users=? you could prevent any public (non
authenticated) user from accessing any page/resource in the site, before
they get anywhere near the iSeries?
<!--
DIRECTORY AUTHORISATIONS
-->
<!-- (Administrators only) -->
<location path="myAdminDirectory">
<system.web>
<authorization>
<allow roles="Administrator"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<!-- (Authenticated Users Only) -->
<location path="mySiteDirectory">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>

- Maurice


-----Original Message-----
From: systemidotnet-bounces@xxxxxxxxxxxx
[mailto:systemidotnet-bounces@xxxxxxxxxxxx] On Behalf Of Richard Schoen
Sent: 17 November 2009 19:24
To: systemidotnet@xxxxxxxxxxxx
Subject: Re: [SystemiDotNet] Authenticating against the i

Thoughts:

Create a connection string and pass the user ID and password entered by
the user to this connection string. Then set a session variable and make
sure each page checks the web session before displaying. This way NO
page is public and you don't get past login page unless your connection
is successful.

I've also written stored procedures to call an iSeries program to
authenticate, however you have to connect with a generic database
user/password first.

Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

------------------------------

message: 7
date: Tue, 17 Nov 2009 11:14:45 -0600
from: Mike <koldark@xxxxxxxxx>
subject: Re: [SystemiDotNet] Authenticating against the i

How do I secure the entire application? I don't have a need for a public
side for this application?

--
Mike Wills
http://mikewills.info
P: (507) 933-0880 | Skype: koldark




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.