TablesName Users PassengerAirport Staff Admins Airport R CRU Full Control (CRUD) Airplane_Type - CRU Full Control (CRUD) Airplane - CRU Full Control (CRUD) Leg_Instance - CRU Full Control (CRUD) Seat R CRU Full Control (CRUD) Flight_Leg R CRU Full Control (CRUD) Flight R CRU Full Control (CRUD) Fare R CRU Full Control (CRUD) Can_Land - CRU Full Control (CRUD) Discretionary Access Control R: Read, Retrieve C: Create U: Update, Modify D: Delete, Destroy
• SQL INJECTION SQLinjection is a technique where malicious users can inject SQL commands into an SQL statement, via web page input. เป็นเทคนิคที่ผู้ประสงค์ร้ายสามารถบีบคาสั่งของ SQL เข้าไปในข้อความ SQL ผ่านทางหน้าเวปเพจ Injected SQL commands can alter SQL statement and compromise the security of a web application. คาสั่ง SQL ที่ถูกบีบอัด สามารถปรับเปลี่ยนคาสั่ง SQL และยอมรับความปลอดภัยของเวป แอปพิเคชั่น
42.
• Example ofSQL Injection ต้องกำรค้นหำข้อมูลสำยกำรบิน DMK คำสั่ง SELECT * FROM Airport WHERE Airport_code = ‘DMK’;
43.
• Example ofSQL Injection และถ้ำเพิ่ม or 1=1 คำสั่ง SELECT * FROM Airport WHERE Airport_code = ‘DMK’ or 1=1;
• Standard SQLInjection Testing 1. SQL Injection based on 1 = 1 is always TRUE 2. SQL Injection based on “=“ is alsways TRUE 3. SQL Injection based on batched SQL statements
46.
• SQL InjectionBased on ""="" is Always True SELECT * FROM Airport WHERE Airport_code = ‘DMK’ or 1=1;