security

CouchDB security for Android Devices (and iOS)

亡梦爱人 提交于 2019-12-24 00:57:18
问题 I just worked myself through a wiki article and blogposts regarding CouchDB's security. Now I am wondering how this is done in Android. The Android platforms security is relying on sandboxing applications, so config files can not be stored every but the app directory or maybe the sd card attached. As I learned, server admins are configured in a .ini file and the require_valid_user settings as well in regular CouchDB instances. On Android, I know, that uppon installation, CouchDB is storing a

Get Private & Public Key For Encryption and Decryption of Mails in Lotus Domino

匆匆过客 提交于 2019-12-24 00:55:06
问题 I know id file contains Private and Public Key. Public Key is inside Certificate under Id File and Private Key is inside id file but not in the certificate. The Question is how can i get those keys through my java code . I need to encrypt and decrypt mails . 回答1: Public keys can be found in the Domino Directory. You don't need to do anything special to encrypt emails. The Notes APIs will do that for you automatically. Decryption is another story. The whole point of a private key is that it is

Password strength checkers that take into account Moore's Law? [closed]

烈酒焚心 提交于 2019-12-24 00:53:39
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I was going about doing my annual password change on my accounts and tried various sites (microsoft, lastpass, etc) to try out

Limiting unserialize() to return arrays?

此生再无相见时 提交于 2019-12-24 00:47:30
问题 Is there any way to limit PHP's unserialize() to only parse arrays? For security reasons. Suppose there is is an evil __unserialize() magic method in the unserialized object I don't wanna call! 回答1: There are a couple of ways you could solve this problem: Use a regex on the serialized string: Piwik patched an unserialize vulnerability with the following check: if (preg_match('/^a:[0-9]+:{/', $str) && !preg_match('/(^|;|{|})O:\+?[0-9]+:"/', $str) Sign the signed string. If you add an sha1 Hash

Restrict a directory that can be used only through a .net Application

末鹿安然 提交于 2019-12-24 00:47:14
问题 I have a windows Application that stores certain files in a directory. I would like to know if there is a way in .net that I can restrict users not to have access to that directly (by just going to that directory in windows, and grab files) so only my application can add/verify/delete a file in that directory. 回答1: Could you use the Isolated Storage in .Net? While, it isn't necessarily restricted away from your users it may be a lot harder to find.... (stores under the local settings

How to know the security type like OPEN, WPA, WPA2, WEP, when using Apple80211 api?

不羁岁月 提交于 2019-12-24 00:44:19
问题 The wifi scanning apps like eWifi, WiFiFoFum and so on in Cydia can know the security type. How the apps know the security type like OPEN, WPA, WPA2, WEP, when using Apple80211 api? The value of CAPABILITIES is 1057, 1025,34,33,2,1073,1041 and 3121, etc... It is too various. I don't know what it represents. I am using "WEP" and "WPA_IE" key to obtain Boolean for NSDictionary, but It is not enough. Some access points is OPEN, but it is definally WPA2. Anyone have an ideas? Please. 回答1: I have

creating password field in oracle

那年仲夏 提交于 2019-12-24 00:44:18
问题 What is the use of "The Secure External Password Store"? And can I create password field in my Oracle table using "The Secure External Password Store"? Or how can I create password field in my Oracle table without using "The Secure External Password Store"? 回答1: One method without using "The Secure External Password Store" (whatever that may be) is to add a RAW(16) column to the table to store a hashed username and password: alter table mytable add password raw(16); Then store the hashed

How to manage security with One2many fields in Odoo?

两盒软妹~` 提交于 2019-12-24 00:44:07
问题 I have a doubt about security groups in Odoo 8, I will show a simple example to make it more understandable: I have created two new models, Mother and Child . The relationship between them is that a mother can have several children, but a child will only have one mother. Therefore, we have an One2many field pointing to Child (named child_ids ) in Mother , and a Many2one pointing to Mother (named mother_id ) in Child . Now, I have an user who can create some children, but not mothers. When he

How to check if cross-domain requests are disabled

微笑、不失礼 提交于 2019-12-24 00:40:04
问题 I keep reading that to make ajax requests safe, I need to make sure that cross-site requests are disabled. On the server side, how exactly do I disable cross-site requests, or check if they are disabled/enabled? 回答1: Cross site requests are disabled by default.. fyi : take a look at same origin policy : http://en.wikipedia.org/wiki/Same_origin_policy 回答2: Cross domain is always banned because of the Same Origin Policy. As for your JavaScript making a XHR and someone spoofing one, they are the

Security Testing - How to test file upload feature for malicious upload

对着背影说爱祢 提交于 2019-12-24 00:37:16
问题 Need to test file upload feature for security. Purpose is to avoid/stop any type of malicious files from being uploaded. Thanks !! 回答1: There are multiple vulnerabilities that usually come up around file uploads/downloads. Malware in uploaded files Any uploaded file should be virus-checked. As @CandiedOrange responded, you can use the EICAR test for that purpose. Path injection The filename for an uploaded file is te same type of user input as any other field in the request, an attacker can