130 likes | 267 Views
Improving the remote access to the robot BENDER 3.0 using a secure web system. Master dissertation By Mathias Horemans. Outline. B.EN.DE.R. = Basic ENvironment of DEveloping Robotic software Website C++ code. Website PHP: main properties. Log in ( personal )
E N D
Improving the remoteaccess to the robot BENDER 3.0 using a secure web system Masterdissertation ByMathiasHoremans
Outline • B.EN.DE.R. = BasicENvironment of DEvelopingRobotic software • Website • C++ code
Website PHP: mainproperties • Log in (personal) • Change password onlyonce • Upload files • Database • Security (session)
Upload files • MIME types • Extension • Copy file
Admin: mainproperties • PHP • Database + files • Personal 404 fault page • .htaccesssecurity • Password
C++ code file • Uploaded files from the students • Compiling – Linking • GCC / G++ (Linux -> Ubuntu)
Functions • Fork() • System() • Exec() (family)
Functions • Fork() willbeused 2 times • System() willbeusedforcompiling/linking • Exec() (Execl()) willbeusedforexecuting the code • intexecl(const char *path, const char *arg0, …, (char *)0); • int main( intargc, char *argv[])
Security • Reading file • Check funtions (fork(), system() & exec()) • Seekg() withnestedif-structures • Log file • Executingifcondition is met
Acknowledgment • Jacinto Mata Vázquez • The general supervisor related to the Erasmus issues at the Polytechnic School • NievesPavónPulido • My supervisor of the UHU • Patrick Colleman • My supervisor of the KHK