This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

export ftp backup security
#1
Hi,
I would like to backup every month the LM  of all my customer.

Can you give advice in order not to have security issue.
I was thinking about encoding the password, but it's still quite simple to revert the ftp password with basic IT skills.
I don't want people who have acces to the admin part to be able to take control of the ftp.
regards

Code:
-- load the ftp support
local ftp = require("socket.ftp")
local ltn12 = require("ltn12")

-- ftp to NAS
f, e = ftp.put{
  host = "xxxx",
  user = "xxxx",
  password = "xxxx",
  type = "i",
  argument = target,
  source = ltn12.source.file(io.open(dst, "rb"))

}
if (e) then
  log (e)
  log (f)
  alert("Could not ftp: ", e, "\n")
end
log("ftp_backup")
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Reply


Messages In This Thread
export ftp backup security - by domotiqa - 05.03.2024, 12:43
RE: export ftp backup security - by admin - 05.03.2024, 12:59
RE: export ftp backup security - by domotiqa - 06.03.2024, 07:08

Forum Jump: