File Share via web

Jonathan Cave

Honorable
Oct 17, 2013
1,426
0
11,660
Hi,

I have a dedicated server with root access.

I'd like to be able to share a file which is generated and updated on the fly by a game.

What is the best way of providing public access to this file with minimal security risk ?

its a .log file (a simple text file)
 
More requirements needed.

How large is the file?
How many people will be accessing it?
How many concurrent users?
What frequency of access?


"minimal security risk"
If you and yours can access it, maybe I can as well. And you don't want that.
You have to be really, really careful. Outside actors WILL attempt access. Just because it exists.
 
It's called servercommand.log approx 2k (tiny)

I have a full dedicated server with root access (Windows server 16)

The server hosts a game called conan exiles and it's updates the log file with any admin actions with time stamps

E.g. user x used command teleport at 16:48 04/04/18 - it's a basic text file

Probably only 5 people per day will access it. Just want people who play in the server to see that my admin staff don't abuse their powers by giving people read only access to the file.
 
The game is hosted on my server (not my pc an actual hired server located in france)

Perhaps I've complicated matters... let me.try and explain myself better.

I have a tiny text file held on a Windows 2016 server. I have full remote access to the server. I want to be able to share the single file held on d:\Conan\logs\servercommand.log with others by allowing them access to this specific file only with read only permissions.

I just don't know how to
 


That file can't be "constantly updated". It logs interactions with a person. That does not happen constantly. It also has timestamps in the file. What is the harm if the public copy is 30 seconds or a min "out of date" ? If you had a script (powershell since it is a Windows server) that monitored the file for updates and if it is updated, then uploaded it. I don't think that is onerous. Checking every min or every 5 min would probably be plenty for an admin action log file. I assume the public access is for another person. That person won't have split-second response to a change in the log.
 
An update frequency of once or twice per day would seem to work.

Who is going to be refreshing this constantly, just to see what is happening?
If they need that much (almost) real time info and updates, that should be done in a chat app.

As above...powershell an upload to your game server, and give people access to that location.