security

How to pass WCF UserName clientCredentialType to other service?

荒凉一梦 提交于 2019-12-24 11:24:01
问题 I have several WCF services hosted in IIS6 (should not affect this issue) on the same host, and I want, for Performance/ Maintanance and other reasons to combine several requests into 1 request using a Facade Service, All done with special Service Contract / Service that has an operation that calls other services for several operations. I'm using WSHTTP (probably BasicHttp in the near future) with Message security and UserName client credential type. I want the Facade Service to use the

Determining which content was delivered securely and which wasn't

谁都会走 提交于 2019-12-24 11:18:08
问题 I want to know which items on this page: https://www.ticketwise.nl/123 are delivered securely and which arent. I receive different notifications in different browsers: Firefox: No notification Chrome: shows me a https issue IE9: Do you want to view only the webpage content that was delivered securely? Now, HOW can I see why this notification is shown? I tried sending everything over https, but am now unsure which items ARENT delivered over https 回答1: You can use fiddler to determain what is

Problem with JSF forwarding and security constraint

牧云@^-^@ 提交于 2019-12-24 11:08:47
问题 I'm making a web application in which certain pages are login-protected. I have created a JDBC security realm in glassfish for this, and used Form authentication (Similar to the method described here) I'm using Navigation rules to redirect the user to the secured areas of the website: <navigation-case> <from-outcome>showResults</from-outcome> <to-view-id>/SecureUser/Reservation/New/AvailableResults.xhtml</to-view-id> <redirect/> </navigation-case> (etc...) This works fine. But if I skip the

Deny reading part of a file in python

烈酒焚心 提交于 2019-12-24 10:51:31
问题 I have a text file for which I use two write functions: 1) Normal Write, 2) Secure Write. Now when I want to read the data from the file, I should be only be able to read the data written using the "Normal Write" function and should not be able to read the data written using "Secure Write" function. My idea was to use a dictionary for this using the key as a flag to check if the value was written using normal write or secure write. How can I do this in Python? 回答1: its all a matter of how

Jnlp gives error in certification

 ̄綄美尐妖づ 提交于 2019-12-24 10:50:58
问题 I have generated the keystore and its inner key. Then I have my signed java applet. But each time I start my jnlp applet I can see the Internet browser security Warning dialog. When the application server and the client machine are in the same network , in the dialog box shows "Publisher: MyCompanyName "but when we access the application form the internet,it shows that "Publisher: UNKNOWN". Anyone could let me know what the cause of this problem.Any help would be greatly appreciated. 回答1:

Security concerns sending user name and password to server via https from iOS app

浪尽此生 提交于 2019-12-24 10:48:26
问题 I have set up in app purchase receipt verification in accordance with Apple's recommendations by sending the receipt to my server which in turn sends it to Apple's servers for verification. All my receipt processing is handled server side and it is working perfectly. My server sends back a very obscure code to my app to confirm whether the purchase is valid or not. I make use of a pretty robust obfuscation method on the app side to disguise what is going on with that return code to make it as

symfony 4 sets logged in as anonymous

依然范特西╮ 提交于 2019-12-24 10:48:12
问题 I'm working on a Symfony 4 project. After trying to login, it redirects me back to the login page with an anonymous token. My setup is using the login form from symfony docs . After clicking login my session only has the csrf/authenticate attribute. Any ideas what am I doing wrong? Security.yaml security: # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers encoders: App\Entity\User: algorithm: bcrypt providers: in_memory: { memory: ~ } db_provider: entity:

How to restrict a Flex application to only run from my website?

人盡茶涼 提交于 2019-12-24 10:47:56
问题 is it possible to make a Flex-application to only run from my domain? So a user can't copy the .swf and start it locally. 回答1: In a lot of cases this won't work because of the security model associated with the crossdomain.xml. http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html Say for example, I have a flex app that has a service call and login to my backend database (perhaps PHP and mysql). Unless I explicitly enable it in crossdomain.xml policy file the app will not be

How Can I get log in time while using spring security

不羁岁月 提交于 2019-12-24 10:45:48
问题 I am using spring security 3 and would like to display the time when user logged in to current session. Does Spring security provide any such token? Thanks, - Akshay 回答1: The most reliable option would be customizing your Spring Security filter chain to save a timestamp in the user's session when a successful login occurs. Then you would access it in the same way you access any session attribute. 回答2: According to the documentation, you can add your own filters to the Spring Security filter

AJAX toolkit and web config security

余生颓废 提交于 2019-12-24 10:44:42
问题 I'm using ASP.NET and the AJAX toolkit and was wondering if there are any security aspects I should be concerned about. I've never used the AJAX toolkit before, and usually from standard controls, there are postbacks which I use to validate input. I assume this is the same with the AJAX controls, but are there any extra catches that might be missed? Also, I've set some security aspects in my web.config files. As I understand it, anything set in parent folders, cascades down to subfolders.