In this paper, the power system stabilizer (PSS) and Thyristor controlled phase shifter(TCPS) interaction is investigated . The objective of this work is to study and design a controller capable of doing the task of damping in less economical control effort, and to globally link all controllers of national network in an optimal manner , toward smarter grids . This can be well done if a specific coordination between PSS and FACTS devices , is accomplished . Firstly, A genetic algorithm-based controller is used. Genetic Algorithm (GA) is utilized to search for optimum controller parameter settings that optimize a given eigenvalue based objective function. Secondly, an optimal pole shifting, based on modern control theory for multi-input multi-output systems, is used. It requires solving first order or second order linear matrix Lyapunov equation for shifting dominant poles to much better location that guaranteed less overshoot and less settling time of system transient response following a disturbance.
Cross-Site Scripting (XSS) is one of the most common and dangerous attacks. The user is the target of an XSS attack, but the attacker gains access to the user by exploiting an XSS vulnerability in a web application as Bridge. There are three types of XSS attacks: Reflected, Stored, and Dom-based. This paper focuses on the Stored-XSS attack, which is the most dangerous of the three. In Stored-XSS, the attacker injects a malicious script into the web application and saves it in the website repository. The proposed method in this paper has been suggested to detect and prevent the Stored-XSS. The prevent Stored-XSS Server (PSS) was proposed as a server to test and sanitize the input to web applications before saving it in the database. Any user input must be checked to see if it contains a malicious script, and if so, the input must be sanitized and saved in the database instead of the harmful input. The PSS is tested using a vulnerable open-source web application and succeeds in detection by determining the harmful script within the input and prevent the attack by sterilized the input with an average time of 0.3 seconds.