title: What is the Pros and Cons of IWS based web service Vs CGI programming in IBM i
body: <p>I am new to the web serivce programming in IBM i, based on my initial reseach I found couple of ways to achieve it. </p>
  
  <ol>
  <li>Using Integrated Web Service platform comes with IBM i (<a href="http://hostname:2001/HTTPAdmin" rel="nofollow noreferrer">http://hostname:2001/HTTPAdmin</a>) but it needs profile with *IOSYSCFG authority</li>
  <li>Using just CGI programming using Apache web server and editing the httpd.conf file and using ScriptAliasMatch to route to my RPGLE</li>
  </ol>
  
  <p>But I wanted to know, what will be the best practice and Pros and Cons of each. From myside, I am not able to explore much because I am not authorized to use a profile with *IOSYSCFG authority </p>
  
  <p>I made few programs with CGI concept but need to know how efficient it is when it comes to security?</p>
  
  <p>Thanks in advance for your help..!!</p>