Go Back   vb.org Archive > Community Central > Community Lounge

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2003, 07:51 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vbusers + htaccess

I'm sure i read something a whole ago that allows you to protect a web folder combining htacess and your vbulletin database.
Anyone know what i'm on about?
Reply With Quote
  #2  
Old 02-15-2003, 08:15 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=34690&highlight=modauth mysql" target="_blank">https://vborg.vbsupport.ru/showt...t=modauthmysql</a>
Reply With Quote
  #3  
Old 02-15-2003, 08:15 PM
Dominick Dominick is offline
 
Join Date: Jan 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you dont need to combine .htaccess and your vBulletin

http://www.javascriptkit.com/howto/htaccess3.shtml

http://www.euronet.nl/~arnow/htpasswd/

read the first link
then use the second tool to help you create the htpasswd file
Reply With Quote
  #4  
Old 02-15-2003, 08:16 PM
Dominick Dominick is offline
 
Join Date: Jan 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by filburt1
https://vborg.vbsupport.ru/showthrea...t=modauthmysql
hrm

interesting
Reply With Quote
  #5  
Old 02-15-2003, 08:40 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was hopinh to combine the two so i create a 'forum members only' section of my website so active members get acess to MP3s etc. Exclusive content in short
Reply With Quote
  #6  
Old 02-15-2003, 09:27 PM
Dominick Dominick is offline
 
Join Date: Jan 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you want to protect your files? forums? folders?

forums is obviously the easiest from a vB standpoint
folders if they are just for "exclusive content are simple as well. .htaccess
files you might have to get creative. you might want to create a usr group assuming that you use linux, limit access to 750 and assign group ownership a new group. you could then write a server side script that runs in conjunction with that usergroup that you created. password protect that page and you should be good to go. as far as direct integration with vBulletin. Not sure if that is possible without some serious hacks. but it is a start

oh btw, these are legal mp3's right?
Reply With Quote
  #7  
Old 02-15-2003, 09:31 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, they are legal. It's just a small collection of exclusive files for my members. Few pictures, few MP3s, and a couple of downloads like screensavers

So, anyway can read the forum... and members who post a lot will then be able to acess a members section of the website
Reply With Quote
  #8  
Old 02-15-2003, 10:27 PM
Dominick Dominick is offline
 
Join Date: Jan 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think that you are making this harder than it needs to be
http://www.zend.com/codex.php?id=228&single=1

use that to create a login using cookies on the page... create a folder that is password
Code:
RewriteEngine on
RewriteCond %{HTTP_COOKIE} !^.*access=granted.*$
RewriteRule .*$
http://www.yourdomain.com/loginerr.htm


this code should allow access to the folder if the cookie is set...
http://www.webpimps.com/scripts/htaccess/
taken from this page

then you are good to go
just link to your downloads

edit changed zend link to show auth script with cookie setting enabled
Reply With Quote
  #9  
Old 11-15-2004, 10:17 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you please clarify the steps and code?

I would really like to add .htaccess cookie auth. protected dirs to
my vBB site.

I have been searching for a good way to add dir. protection to my
website using vB user database, could this work?

Thanks in advance
Reply With Quote
  #10  
Old 11-15-2004, 11:10 PM
Barrikin Barrikin is offline
 
Join Date: Jun 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Umm.

Usergroup.
Promotions.

Done.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04460 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete