Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
207 views
in Technique[技术] by (71.8m points)

html - are my files accessible over the internet after port forwarding?

after port forwarding, my computer could be accessible over the internet, can I access my files in the computer from another computer by using xxx.xxx.xxx.xx:xxxx/filename?

question from:https://stackoverflow.com/questions/66057127/are-my-files-accessible-over-the-internet-after-port-forwarding

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Port forwarding allows the requests that come to a specific port on your router to be forwarded to a specific port on a computer on your network.

To be able to access files remotely, you should have a service running on that computer to which you forward the traffic to. There are a few protocols that help accessing files this way:

  1. FTP/SFTP
  2. SMB
  3. HTTP
  4. LDAP

Etc. So you need to find a server software for any of these protocols and run it the computer where you want to host your files.

PS: Having answered your question, I would not recommend doing this because any software you install would have vulnerabilities (that might be discovered later if not now), and you will have to be aware of all such and keep the software up to date. Instead it would be much safer to use a cloud service to store your files, in which case they would take care of security on an everyday basis.

Having said that, both cloud services and any software you install on your computer, both are prone to "Zero-Day Vulnerabilities" (Vulnerabilites which exist in the software that aren't reported/identified to/by the developers, instead exploited by a malicious attacker).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...