This is a read-only archive. No new posts or registrations. Privacy Page Still need help? Ask the volunteers at Geeks to Go, free.
Software

WinPe 5

12 min read

This thread's last reply is from . Advice, software, and links below may be out of date — treat specific steps and download links with caution.

That link takes me to a site thaT STARTS TO DOWNLOAD SOME PHP CODE.

it's a pdf link on my system.

 

 

Now I have a very vague idea of what you mean.

 

a server peter is just a simple pc running some special software that enables you or others to connect to it and access the data on it from anywhere in the world.

 

no different really than sharing files across your local network using home group except a server can be accessed from anywhere in the world, and as the name suggests it just serves the pc connecting to it the data it is asked for/allowed to.

 

my "server" is used as both an ftp server and as a http multimedia server, so i can connect to it in 2 different ways from anywhere and have access to different files and data depending on which method i used.

 

quite simple to set up a server of your own but making and keeping it secure so no unathorised person can gain access to it can be quite hard and of course you'll never be 100% certain noone else will not be able to gain access to it even though you do usually require a user name and strong password to do so.

 

 

The term server is used quite broadly in information technology. In theory, any computerised process that shares a resource to one or more client processes is a server. So, while the existence of files on a machine does not classify it as a server, if it uses some mechanism to share these files then it can be a file server. Similarly, web server software can be run on any capable computer, and so a laptop or personal computer can fulfil the role of a web server.

In the hardware sense, the word server typically designates computer models specialised for their role as servers to do it better than a generic personal computer.

https://en.wikipedia.org/wiki/Server_%28computing%29

 

big difference between my server and the servers that are providing this forum to you for example is my server can only handle 2 or 3 people connecting to it before it becomes bogged down (because of my limited upload bandwidth from my isp.) and also i have no hardware redundancy built into it.

for instance if the power supply failed on my pc then my server goes offline/down where as the servers providing this forum to you can handle thousands of pc connecting to it and if they have the same psu hardware failure there would be a second power supply unit that would take over so the failed unit could be taken out and replaced without the forum service being interupted or the users connected to it noticing anything.

 

:popcorn:

That is a very clear explanation of what these servers are. I like the similarity to a home group.
I also understand the ability to serve more or less clients due to your capabilities.
It appears that security is a concern when you use the server.
Although I likely will not make or develop one, it is another piece of knowledge Iam trying to keep in my pc folder for learning's sake.
Someday my grand children will find this interesting reading(the way they did things in the old days).
Thank you

 

It appears that security is a concern when you use the server.

yes security is always the biggest concern, because for it to work you have to open doors/ports through your router/firewall to allow people to connect to the pc and because it is a server it is running 24/7 so allowed people can gain access to it when they need.

 

as to making or developing anything, unlike ztruker i wrote no code whatsoever of my own, all i did was install certain software and then configure that software to my needs, then made sure my data was read only so noone can easily alter it or where applicable allow write access so others can transfer files onto my server if they so wish.

 

for instance my ftp server is just some software called vsftp that allows users to connect to my pc from outside my local network and only have access to the one folder i've allowed to them on my system, but in that one folder they can add/write as many other folders or files as they like plus only read any files or folders i may decide to put in there.

 

so say my local ip is 192.168.0.8 for my server pc and i've setup vsftp to use the normal ftp port of 21 (not recommended.) then first thing i need to do is set a rule in my router that any connections trying port 21 need to be allowed through and sent only to the pc at 192.168.0.8

 

once that's done to actually connect to that pc from outside my network i'd open a browser and type in ftp://meonly@[removed]where meonly is the user name i've created/allowed and the [removed] is my actual isp ip address as seen and used by other pc's on the internet. (of course it's not but as you can see the forum shows it as a valid clickable link and if clicked on would try to connect to whatever pc does actually use the [removed] ip address.)

 

this would then connect to my server pc where they would be asked for a password to be entered before being allowed access to the folder.

 

all really quite simple and straightforward to set up with just a few things needing setting first in the software and then in the router before someone can say i'm running a "server" :D

 

ok there are lots of settings in the software that you can change and set depending on your requirements and security wants/needs.

:- https://security.appspot.com/vsftpd/FAQ.txt

 

but in all honesty to get yourself running a server of some type really isn't that difficult.

 

do most people need one, nope and my server hardly ever gets used from outside my lan nowadays but seeing how the pc has to be running anyway for my htpc i keep my server software running and the router ports open anyway.

 

:popcorn:

From a lay person's point of view that is quite complicated. It is,however, interesting information from which I have extracted some tid bits that I understand.

You have demonstrated how security is a real concern by opening ports. I have my hands full with MS's Defender.

 

Once a week I usually restore to default to close some ports.

 

I can see how the analog to a home group is apt except it is on the web.

 

Programming must be a very interesting field which allows one to easily handle tasks on machines.

on a normal pc/router setup you should have no ports open whatsoever either in your router or in your windows software firewall on your pc for things to work correctly usually far as i'm aware.

 

usual reason (and only one i can think of at the moment) for opening ports is when some games require open ports to work in my experience.

 

don't remember ever having to open ports on a windows pc for anything else i ever used one for other than games.

 

programming is just a logical way of thinking and then converting those logical steps into code the machine can understand, so if you have no problems thinking logically then you usually have no problems writing a program to run on a pc, just as long as you know the code or languague of course, it's always a case of "if" this then "do" that sort of thing where programming is concerned.

 

no idea how quantum pc's are going to work though, because with quantum pc's it seems things can be both posative and negative at the same time so it'll be a case of if this and if not this then do that all anyway, much more complicated than my poor logical brain can comprehend. :rofl:

 

:popcorn:

The main problem with writing web code is remembering what happens on the server and what happens on the client computer.

Fun to do though.

When I am surfing, I get a Windows firewall request to allow;  Google, HP communicator and a few others like it. I allow them only on my private network.  I am always closing  ports.

The ones that the default has open   boxes are ; WIFI direct network discovery is just public, wireless discovery is private, core networking is both private and public , wireless display is both private and public.

How should I handle these requests as far as the firewall is concerned when they pop up, should I allow them or not?

not having used a windows pc in ages and i can't check to see what you can see in your settings but to me it sounds like your not actually opening ports per se, what your doing is allowing those programs to make the permission changes they need to work and allow themselves through the firewall from your pc side so they can thrn find what they are looking for outside your pc,

 

as in the hp comminicator program which i believe needs to look outside your pc to locate and comminicate with hp printers.

 

anything from outside your pc would still be blocked from entering your pc by the firewall unlike when you actually open a port then programs can search outside your pc as well as any other pc/program can enter through the same open port.

 

the way i think of it is this, all pc's do is have conversations with each other and the firewall is there to stop those conversations from starting if need be, any program on your pc is usually allowed to pass through the firewall and start a conversation just as long as it sticks to using a default port, once a conversation has started then the other pc is also allowed to pass through the firewall using the same port to converse until the program on your end says they've talked long enough and ends the conversation closing the port.

now no pc outside the firewall can start a coversation with your pc at any time no matter how often they may ask, but when a port is opened in the firewall then things change and any pc can start a conversation with your pc at any time without you having any say on whether you want a conversation or not.

 

simple answer whether to allow something or not is if you know it needs permission to work because of something your doing then allow, if your not sure, always deny, if the program then fails to work correctly you can always restart it and this time allow when asked.

 

:popcorn:

I like the way you summarized this issue in the last paragraph. Firewalls can be simple to tricky but this makes it easier.

Thanks again for the help.

Still having this problem?

This topic is from the What the Tech archive and can't take new replies. Geeks to Go is an active, free help community run by volunteers. Post your question there and a person, not a bot, will work through it with you.

Ask on Geeks to Go →