php-windows Digest 23 Jan 2005 22:26:07 -0000 Issue 2548
Topics (messages 25429 through 25434):
Re: sharing files over network with XP Home and PHP?
25429 by: Armando
25430 by: DvDmanDT
25431 by: Mikey
25432 by: DvDmanDT
25433 by: Mikey
25434 by: DvDmanDT
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
It will not work. The simple file sharing option is not available in XP
Home, only Pro. You can check the sharing settings in the sharing tab
for the folder once shared, but if you still can't get it to work then
there's really not much you can do. Cheers.
Armando
Chris wrote:
DvDmanDT wrote:
Errm.. I did search accutually.. But didn't find anything.. Partly
cause I'm
running home edition.. There's no security tab there.. And the folders
are
shared.. Apache is running as SYSTEM, and I'm as User or something like
that.. Any more ideas?
I don't know if this would work or not, but the 'Security' tab is off by
default.
Try the following:
Tools -> View (tab) -> uncheck 'Use simple files sharing (recommended)'
Apply to all folders
And try out the file/folder again.
--- End Message ---
--- Begin Message ---
I accutually got it working.. Here's the steps for anyone with the same
problems:
1. Make sure you share the folder on comp2 you want to access from comp1
(the one with Apache/PHP)..
2. Make sure Apache is running as a user (), and that user should be
administrator (optional, but recommended for home users), and it seems like
it needs to have a password to work (couldn't get it to login without a
password)..
3. Test..
--
// DvDmanDT
MSN: dvdmandt�hotmail.com
Mail: dvdmandt�telia.com
"Armando" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> It will not work. The simple file sharing option is not available in XP
> Home, only Pro. You can check the sharing settings in the sharing tab
> for the folder once shared, but if you still can't get it to work then
> there's really not much you can do. Cheers.
>
> Armando
>
> Chris wrote:
> > DvDmanDT wrote:
> >
> >> Errm.. I did search accutually.. But didn't find anything.. Partly
> >> cause I'm
> >> running home edition.. There's no security tab there.. And the folders
> >> are
> >> shared.. Apache is running as SYSTEM, and I'm as User or something like
> >> that.. Any more ideas?
> >>
> >>
> >>
> > I don't know if this would work or not, but the 'Security' tab is off by
> > default.
> >
> > Try the following:
> > Tools -> View (tab) -> uncheck 'Use simple files sharing (recommended)'
> > Apply to all folders
> >
> > And try out the file/folder again.
> >
--- End Message ---
--- Begin Message ---
Yoiks!!!
> I accutually got it working.. Here's the steps for anyone with the same
> problems:
> 1. Make sure you share the folder on comp2 you want to access from comp1
> (the one with Apache/PHP)..
> 2. Make sure Apache is running as a user (), and that user should be
> administrator (optional, but recommended for home users), and it seems
> like it needs to have a password to work (couldn't get it to login without
> a password)..
> 3. Test..
Running apache as Administrator is exactly the same as running it as root on
a *nix machine - if Apache crashes (much more likely in Win32) then the
person attacking will have full access to everything on your machine. Do you
really need me to tell you that this is a *bad idea*?
Mikey
--- End Message ---
--- Begin Message ---
When having firewalls and stuff that shouldn't really be a problem.. Also,
notice that I would only recommend it for home users.. The reason I want it
as admin is to give it full access to everything so.. And why I want that?
So that I can do just about anything you could possibly think of.. Using FFI
if necessary.. Besides.. Is it really _that_ big differense? I know some
differences, but how much of it would matter in this case? Access to
everyones documents and what else (in home edition that is)? XP anyway have
a feature that I have a feeling will give access to any users anyway..
--
// DvDmanDT
MSN: dvdmandt�hotmail.com
Mail: dvdmandt�telia.com
"Mikey" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
>
> Yoiks!!!
>
> > I accutually got it working.. Here's the steps for anyone with the same
> > problems:
>
> > 1. Make sure you share the folder on comp2 you want to access from comp1
> > (the one with Apache/PHP)..
> > 2. Make sure Apache is running as a user (), and that user should be
> > administrator (optional, but recommended for home users), and it seems
> > like it needs to have a password to work (couldn't get it to login
without
> > a password)..
> > 3. Test..
>
> Running apache as Administrator is exactly the same as running it as root
on
> a *nix machine - if Apache crashes (much more likely in Win32) then the
> person attacking will have full access to everything on your machine. Do
you
> really need me to tell you that this is a *bad idea*?
>
> Mikey
--- End Message ---
--- Begin Message ---
>When having firewalls and stuff that shouldn't really be a problem.. Also,
>notice that I would only recommend it for home users.. The reason I want it
>as admin is to give it full access to everything so.. And why I want that?
>So that I can do just about anything you could possibly think of.. Using
>FFI
>if necessary.. Besides.. Is it really _that_ big differense? I know some
>differences, but how much of it would matter in this case? Access to
>everyones documents and what else (in home edition that is)? XP anyway have
>a feature that I have a feeling will give access to any users anyway..
What you choose to do on your network is up to you, of course, but I think
it is very bad practice to offer advice on a PHP mailing list that advises
people that have machines (potentially connected to the internet) set up
with wide open shares and apache running as Administrator. I am not so sure
that you cannot set the permissions of the folder correctly anyway, and it
is only my lack of Windows XP that has stopped me from commenting on this.
If you wish to employ bad practice for your own home setup that is fine,
please don't post to this group (which is archived and will be searched) and
advocate similar practice for everybody else.
If your firewall is the built in XP one, don't rely on it at all, I have
read reports of the SP2 version of this being hacked within a couple of days
of it being released. Be warned - you run Apache as administrator, with wide
open shares at your own risk - your system registry is a file, your
passwords are stored in a file, your system is on that HD - do you really
want to risk some 14yo script kiddie smashing your machine just cos you left
the doors wide open?
Mikey
--- End Message ---
--- Begin Message ---
Something you probably didn't notice is that it doesn't make that much of a
difference.. Not on home anyway.. The normal system service user can access
those files as well (well, they have the same access anyway).. The only
difference I've seen is that now I can access shared network files as well..
If you need security, don't even consider XP, and even more not home.. Now,
if you can tell me a security hole I've opened (apart from network access
which was my goal with this), I'll take back my suggestion..
--
// DvDmanDT
MSN: dvdmandt�hotmail.com
Mail: dvdmandt�telia.com
"Mikey" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
>
> >When having firewalls and stuff that shouldn't really be a problem..
Also,
> >notice that I would only recommend it for home users.. The reason I want
it
> >as admin is to give it full access to everything so.. And why I want
that?
> >So that I can do just about anything you could possibly think of.. Using
> >FFI
> >if necessary.. Besides.. Is it really _that_ big differense? I know some
> >differences, but how much of it would matter in this case? Access to
> >everyones documents and what else (in home edition that is)? XP anyway
have
> >a feature that I have a feeling will give access to any users anyway..
>
> What you choose to do on your network is up to you, of course, but I think
> it is very bad practice to offer advice on a PHP mailing list that advises
> people that have machines (potentially connected to the internet) set up
> with wide open shares and apache running as Administrator. I am not so
sure
> that you cannot set the permissions of the folder correctly anyway, and it
> is only my lack of Windows XP that has stopped me from commenting on this.
>
> If you wish to employ bad practice for your own home setup that is fine,
> please don't post to this group (which is archived and will be searched)
and
> advocate similar practice for everybody else.
>
> If your firewall is the built in XP one, don't rely on it at all, I have
> read reports of the SP2 version of this being hacked within a couple of
days
> of it being released. Be warned - you run Apache as administrator, with
wide
> open shares at your own risk - your system registry is a file, your
> passwords are stored in a file, your system is on that HD - do you really
> want to risk some 14yo script kiddie smashing your machine just cos you
left
> the doors wide open?
>
> Mikey
--- End Message ---