Posts

Showing posts from December, 2010

OPA for HTTP Authorization

Open Policy Agent[1] is a promising, light weight and very generic policy engine to govern authorization is any type of domain. I found this comparion[2] very attractive in evaluating OPA for a project I am currently working on, where they demonstrate how OPA can cater same functionality defined in RBAC, RBAC with Seperation of Duty, ABAC and XACML.  
Here are the steps to a brief demonstration of OPA used for HTTP API authorization based on the sample [3], taking it another level up.
Running OPA Server First we need to download OPA from [4], based on the operating system we are running on.  For linux, curl -L -o opa https://github.com/open-policy-agent/opa/releases/download/v0.10.3/opa_linux_amd64 Make it executable, chmod 755 ./opa Once done, we can start OPA policy engine as a server.
./opa run --server Define Data and Rules Next we need to load data and authorization rules to the server, so it can make decisions. OPA defines these in files in the format of .rego. Below is a sample …

Few methods to install software in Ubuntu

Image
The followings are few methods I got to know surfing several sites for hours and from friends when I had time.Hope this will help someone at the beginning stage in using Ubuntu, to save time in installing software.
(1) Installing from a .tar.gz fileThis is a zipped file used in Ubuntu and have to right click and extract before installing.Usually include the source code written in C, C++ or Python. Then open the extracted folder to check whether a file called 'configure' is there.



If not this method won't work and have to try another. This configure file is to match the source code with current status features like 32/64 bit.
- Open terminal
- Go to the folder where source code is located. (Usingcd directory_name)
- Get into super user mode(sudo su)
- Will prompt to type password for authentication and when done correctly can proceed in super user mode
- Then type ./configure (Can observe checking of the source code, and if some error occurred have to work on that)
- After configu…