cross-site

Prevent Cross-Site Request Forgery

不羁的心 提交于 2020-01-05 13:11:43
问题 I understand Cross-Site Request Forgery and found numerous blogs,articles on web to handle it in asp.net mvc,but have not got a decent links,helpful solutions to deal with CSRF attacks in asp.net web applications.I have ran a security tool on my website,and its reporting the cross site request forgery and showing the risk It is possible to steal or manipulate customer session and cookies, which might be used to impersonate a legitimate user, allowing the hacker to view or alter user records,

SameSite Cookie Attribute Warning Isn't getting fixed

本小妞迷上赌 提交于 2019-12-24 07:07:04
问题 I am using react.js, and I'm trying to integrate lucky orange into my web app. I added the code snippet in the head tag of the index.html file, but I get a warning saying: A cookie associated with a cross-site resource at http://luckyorange.net/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure . I tried setting the cookie in the head of the index.html document like this: document

Django csrf cookie not set for sub domain when accessed in iframe on third party site

老子叫甜甜 提交于 2019-12-24 00:42:52
问题 My app worked well so far, when all was done by accessing its public IP. Now, it's being added to the main site, as app.mainsite.com. It's accessible like that. I can log in, etc, everything. But my app is a little special in that, a certain feature of it allows its users to open one of its URLs in an iframe on any third party site where the app's scripts are embedded in html, to do some app specific activity on those third party sites. Now, everyone could see the new stuff the app brought to

Making Cross Site Asynchronous HTTP Post from GWT Client

删除回忆录丶 提交于 2019-12-23 23:52:54
问题 I m working in a GWT based Project and i'm used to making RPC requests alone. I tried creating a new project and making Cross Site request with GWT client using RequestBuilder, but i couldn't get it to work. I'm not really good with GWT. So Please can anyone tell me how to create a new Project and its settings along with the code for Making Cross site requests from GWT Client(completely removing RPC calls) ..? I've went through google and stackoverflow, but no complete thing on this topic. It

Cross-site ajax call to a WCF Service

半世苍凉 提交于 2019-12-20 15:26:52
问题 Is it possible to do a cross-site call, in Javascript, to a WCF service? I don't mind if it's a POST or a GET. But I've heard that these days, browsers don't allow cross-site calls with either POST or GET. How can I circumvent this and still call a WCF Service ? 回答1: There's not a whole lot you can do to circumvent the browser's cross-site scripting blockers. Those blockers stop XMLHTTPRequest's from happening to any domain but the one that loaded the containing script or page. That said,

Sending Text Cross Domain By Bookmarklet

守給你的承諾、 提交于 2019-12-18 02:58:20
问题 I need a user to navigate to a certain page that has a certain div full of useful text. Then click my bookmarklet and send the text in that div back to my server, which is different from the current domain. I have successfully inserted jQuery on the bookmarklet click and selected the text. Now I need to figure out a way to send that text cross domain to my server. I tried JSONP with jQuery and my text is too long for the url. My second idea was to open up a new window and load a page from my

Setting cross-domain cookies in Safari

牧云@^-^@ 提交于 2019-12-17 02:08:14
问题 I have to call domain A.com (which sets the cookies with http) from domain B.com. All I do on domain B.com is (javascript): var head = document.getElementsByTagName("head")[0]; var script = document.createElement("script"); script.src = "A.com/setCookie?cache=1231213123"; head.appendChild(script); This sets the cookie on A.com on every browser I've tested, except Safari. Amazingly this works in IE6, even without the P3P headers. Is there any way to make this work in Safari? 回答1: From the

Coldfusion Cross site authentication

雨燕双飞 提交于 2019-12-13 15:32:51
问题 Ok, so on the coldfusion site I'm working on I just installed a third party (open source) CF forum known as "Galleon". I asked a similar question a bit ago but now we have progressed a bit. The issue at hand is that it will not recognize -any- variables (sessions, etc) that exist of the parent site proper. The forum itself is stored inside of a sub folder within the site directory.. But when we try to output session variables, which we know have not expired or whatnot, it spits out an error

How do I delete cross site cookies with Firefox 22+ extension?

廉价感情. 提交于 2019-12-13 05:12:18
问题 I am attempting to add a function to my Firefox extension to trigger an event to delete cookies from site B when a button on site A is clicked. Site A and B do not share a domain but site B is running in an iframe injected into site A. I need the click event in the Firefox content script to trigger an event either in the content script or the Firefox extension main to delete all of the cookies from site B. I have the click listener assigned to the button and firing. I have already achieved

Protect from cross-site scripting attacks?

匆匆过客 提交于 2019-12-13 00:38:18
问题 We recently set up a website (http://www.doverjewelry.com/) with hikashop, the domain has godaddy website protection so it scans the website and warns against vulnerabilities. The scan is currently reporting the the website is vulnerable to cross-site scripting attacks. This the scan output: Using the GET HTTP method, Site Scanner found that : + The following resources may be vulnerable to XSS (on parameters names) : /bands-and-settings/category/371-all-ring-settings/limit_hikashop_catego ry