Third-party access to logfiles

Third-party access to logfiles

Posted by: jarango
Posted on: 2006-11-24 15:25:00

Hello! I'm hosting a site for a third party, and they've asked me for access (FTP) to their raw logfiles. I also have sites on this account that I don't want to give them access to. What's the best way to allow them to download their logs without giving them full FTP access?

Thanks,

jarango

Re: Third-party access to logfiles

Posted by: wholly
Posted on: 2006-11-24 15:31:00

Could you use a link "ln" to the log files in thier directory? If they roll that might be a bit of a problem but you could give them access to the files via the link.

do a "man ln" at the command line for more info.

Wholly

Re: Third-party access to logfiles

Posted by: quanin
Posted on: 2006-11-24 15:40:00

That's one option. Alternatively, you can map the logs directory to a http directory in their web directory structure, then password protect it via .htaccess. It's not FTP access, granted, but it works. Or, you can asign that website to its own FTP user–the forum's littered with threads on how to do that.

Yes, I have an opinion.

Get a minimum 50% off with the "haveadreamyday" promo code, and... have a dreamy day. Original, no?

Re: Third-party access to logfiles

Posted by: rlparker
Posted on: 2006-11-24 16:00:00

Both previously mentioned ideas have merit; just to provide another option, you could simply set up a cron job to copy the appropriate log files from their home above the website directory into a location within their web accessible directory tree - and protect via .htaccess or manage as you see fit.

--rlparker

Re: Third-party access to logfiles

Posted by: jarango
Posted on: 2006-11-25 06:08:00

Thank you all for your replies!

Cheers,

jarango

Tags: ftp accesslogs