How to use cookies in a project idea? - security

I have a security project about cookies and I am looking for ideas that can I implement in this field.
Could you please help me to find such idea?
Can I implement a code in java that takes cookies of different sites?
Appreciate your help.

Cookies data is completely in control of the client. Building a validation framework in will be good idea. So that validation logic( security logic) can be separated from the web server.

Related

IMS LTI implementation with node js express

I have a web application running using javascript stack, Nodejs express as a server and I am using passport as well for the cookie session.
We need to implement IMS LTI so users of other educational platforms can access ours with out creating an account.
The documentations on their website are really complicated and not well explained.
I don't know where to start from. If someone has an experience with such a thing or have any idea where to start from. Please help me out
Thanks
I think this answer might help you get started: https://stackoverflow.com/a/56917467
It refers to a very recent NPM package: https://github.com/Cvmcosta/ltijs
Good luck!
I am interested too , hope some knows how to do that

GSRF sample core project in asp.net with c#

I want to prevent CSRF in my website. i need sample working project in core asp.net with c#. please share if anybody having or give suggestion how to do that as soon as possible.
Thanks in advance
ARMOR is an anti-CSRF library, written in C#, designed to repel CSRF attacks targeting ASP.NET applications. Here is a tutorial on the subject, and here is the GitHub repo. Getting up-and-running is simply a matter of
Applying the necessary configuration settings
Adding Fortification Filters to the ASP.NET bootstrapper
Decorating your endpoints with ARMOR attributes
Dropping the included JavaScript on your UI
Disclaimer: I designed and built ARMOR, and the Encrypted Token Pattern. I’m happy to help you with your implementation.

Browser update to a file without a web server

I need to create a browser based user interface to update an XML file. Is it possible to do this without a full blown web server?
I read about the PHP in-built web-server but wasn't clear whether it will suit my requirement. Any help would be greatly appreciated.
Yes, you can do this, using simpleXML, php. Very easy and clear.
All that you need is already well documented.
See:
http://php.net/manual/en/book.simplexml.php
http://www.w3schools.com/php/php_xml_simplexml_read.asp
http://php.net/manual/en/book.xml.php
http://www.w3schools.com/php/php_ref_xml.asp

Setting up Social business toolkit SBT database using extension library

I am trying to configure the connections vcard. I have done a change in the proxy-config.properties as per the document.But I get following error.
Can somebody tell me what is missing?
Regards,
Prashant
Have you setup the web security store as required?
See http://heidloff.net/home.nsf/dx/12152011034545AMNHECAP.htm for more information.

Symfony 2 : Custom user provider

Since this article http://symfony.com/doc/2.0/cookbook/security/custom_provider.html has not been written yet, has anyone an idea of how to do that ? (In my case it would be using LDAP authentication).
Thanks for your answers
To help you get started you can check out my blog post which outlines how to create a very basic user provider system:
http://clintberry.com/2011/custom-user-providers-symfony2/
EDIT: This post only covers the custom User Provider. To use LDAP authentication you will need to create your own Authentication Provider as well or use a third party library. http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html
This first thing I would suggest you is to do a search for a LDAP bundle on the great website KnpBundles (results here). I saw two results. If you are willing to use an external bundle, you could just use of the two given in the results.
If you prefer to create your own bundle for this task, what I would suggest is to inspire you from these two bundles. Another useful suggestion is to check the FOSFacebookBundle. It is in no mean related to LDAP but, they implements their own provider, so all the glue is there to implement your own.
Just a small notice, if you are developing against Symfony2 master branch, it is good to know that security factory registration has changed a bit. So, be carefull when looking at other bundles to be sure what version they are targeting.
Hope this helps.
Regards,
Matt

Resources