Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Passwording Entire Forum
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

linzz
Starting Member

7 Posts

Posted - 20 April 2002 :  18:17:45  Show Profile
The forum will be entirely for members only. Other parts of the site except the member listings (name, e-mail, what they are looking for and the like will be secured. What I would really like to do is have them log on once to access all secure pages. These people are so security concious that I will probably offer SSL at their choice. Some members are currently holding down big time jobs and their job search is highly confidential.

Ha, I looked at my last post. 1966 should read 1996. In 1966 I was coding COBOL and Fortran in College. I hated it, but ended up in IT anyway.

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 April 2002 :  18:32:31  Show Profile  Visit Nathan's Homepage
I would use the Snitz login/credentials though out all pages in the site. Then add this to inc_top.asp

mLev = cint(chkUser(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))
if mLev="0" then 'if guest then forward to login.asp
response.redirect "login.asp"
response.end
end if


You could use the same chunk of code on non-forum pages assuming that you include config.asp and inc_functions.asp (You wouldn't want it on login.asp or on any other public pages)

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

The next version of snitz, version 3.4, will include password encryption. It might be somthing you wish to consider.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

linzz
Starting Member

7 Posts

Posted - 20 April 2002 :  18:45:06  Show Profile
Thanks guys! I look forward, as must others, to V3.4. Your code looks like something I can plug in. I am new to ASP and miss my old staff who could do this for me. Any timeline on 3.4?

Go to Top of Page

Cinara
Starting Member

USA
15 Posts

Posted - 20 April 2002 :  18:50:12  Show Profile
Thanks for the info everyone! I'll pass this along to our forum admin.

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 April 2002 :  18:52:47  Show Profile  Visit Nathan's Homepage
quote:
Any timeline on 3.4?


Whenever debugging is done. Hopefully soon.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

esasse
Starting Member

Brazil
49 Posts

Posted - 23 April 2002 :  21:06:00  Show Profile  Visit esasse's Homepage  Send esasse an ICQ Message
quote:

I would use the Snitz login/credentials though out all pages in the site. Then add this to inc_top.asp

mLev = cint(chkUser(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))
if mLev="0" then 'if guest then forward to login.asp
response.redirect "login.asp"
response.end
end if




I hope I´m not asking a stupid question, but where is this login.asp?


--
Erick Sasse


Edited by - esasse on 23 April 2002 21:06:36
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 23 April 2002 :  21:20:30  Show Profile  Visit Nathan's Homepage
Its fictitious, you would have to make it.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

JEM618
New Member

62 Posts

Posted - 09 May 2002 :  08:14:46  Show Profile
here's what i did. made an entry page to the forum site. when users click on the link, they are prompted for a password.

http://office.microsoft.com/Assistance/2002/articles/fpPWProtectASP.aspx

Go to Top of Page

alex042
Average Member

USA
631 Posts

Posted - 09 May 2002 :  08:48:14  Show Profile  Send alex042 an AOL message  Send alex042 a Yahoo! Message
You could try the usergroup mod that will allow you to group members and then only allow members of those groups into certain forums or you could create new forum tables within the database for the other forum i.e. forum2_ in addition to forum_ if you want the membership list to be separated.



Edited by - alex042 on 09 May 2002 08:51:07
Go to Top of Page

rev_greg
Starting Member

USA
47 Posts

Posted - 09 May 2002 :  13:37:33  Show Profile  Visit rev_greg's Homepage  Send rev_greg an AOL message  Send rev_greg an ICQ Message
If it was apache you could put a .htaccess file and set up users and passwords, but the only way to do it on NT is to make an account on the NT box for each user then in IIS turn off anonymous access to the forum directory. That way only people that have a userid and password on the NTt box can get to the forum. At that point you would want to change the forum authorization type from DB to NT.

That is the only way to password protect access to the entire forum like you are asking.



Go to Top of Page

AGlossop
Starting Member

United Kingdom
15 Posts

Posted - 09 May 2002 :  13:56:49  Show Profile
Yes NT Auth is the best way, but you can't always get new accoutns setup. This is the problem that I have, on a shared server.

My forum checks for user level in inc_top.asp and stops if not logged in. Then all you get is the login bit and the footer, can't forget the footer.

Check for navigation links being shown:


if mLev > 0 then call sForumNavigation() end if

Stop display of forums (default.asp):

if mLev = 0 then
WriteFooter
Response.End
end if


I also have installed user authentication (by email), but I can't find the mod online anymore.

Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.58 seconds. Powered By: Snitz Forums 2000 Version 3.4.07