Author |
Topic  |
linzz
Starting Member
7 Posts |
Posted - 20 April 2002 : 18:17:45
|
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.
|
 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 20 April 2002 : 18:32:31
|
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 |
 |
|
linzz
Starting Member
7 Posts |
Posted - 20 April 2002 : 18:45:06
|
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?
|
 |
|
Cinara
Starting Member
USA
15 Posts |
Posted - 20 April 2002 : 18:50:12
|
Thanks for the info everyone! I'll pass this along to our forum admin. 
|
 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 20 April 2002 : 18:52:47
|
quote: Any timeline on 3.4?
Whenever debugging is done. Hopefully soon.
Nathan Bales Snitz Exchange | Do's and Dont's |
 |
|
esasse
Starting Member
Brazil
49 Posts |
Posted - 23 April 2002 : 21:06:00
|
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 |
 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
|
JEM618
New Member

62 Posts |
|
alex042
Average Member
  
USA
631 Posts |
Posted - 09 May 2002 : 08:48:14
|
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 |
 |
|
rev_greg
Starting Member
USA
47 Posts |
Posted - 09 May 2002 : 13:37:33
|
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.
|
 |
|
AGlossop
Starting Member
United Kingdom
15 Posts |
Posted - 09 May 2002 : 13:56:49
|
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.
|
 |
|
Topic  |
|