vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need CHMOD help please ! (https://vborg.vbsupport.ru/showthread.php?t=139250)

phonexpo 02-12-2007 11:27 PM

Need CHMOD help please !
 
I run a database back-up using a cron which backs up my forum to a folder on my server everyday. I want to be able to upload to this folder and at the same time not give permission to anyone who viewed the folder via an internet browser.

It this possible?, if so what would the CHMOD number be?

I've tried a few but either the back-up won't run or the folder is viewable via a internet browser.

Thanks in advance.

TTG 02-12-2007 11:39 PM

This may help .. click here

phonexpo 02-13-2007 12:14 AM

Thanks but no, still can't sort it. I set the CHMOD to 770 but it won't work for me.

Analogpoint 02-13-2007 04:25 AM

Chmod it so it's writable by the process that's doing the backup, and password-protect the directory with an .htaccess file. Here's a tool that can help you create the password protection.

RDX1 02-13-2007 06:03 AM

I would send your backups to the root folder, or a folder that can't be accessed via WWW.

phonexpo 02-13-2007 10:05 AM

That's a very good idea, I never taught of that. I'll try it out.

Thanks :)

Analogpoint 02-14-2007 07:44 PM

Quote:

Originally Posted by RDX1 (Post 1181288)
I would send your backups to the root folder, or a folder that can't be accessed via WWW.

That's the best answer.


All times are GMT. The time now is 09:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01757 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete