So I've successfully written a metaclass that gives python the functionality of private attributes in classes. Q: But what about `inst.__private`? A: >>> class A(object): __slots__ = ['__private'] def __new__(cls): inst = object.__new__(cls) inst.__private = 10 return inst def showprivate(inst): return inst.__private >>> inst = A() >>> inst.showprivate() 10 >>> inst._A__private = 20 # security through obscurity never works >>> inst.showprivate() # sorry not private 20 With my metaclass, private attributes are inaccessible outside native and super-native namespaces: class A(object, metaclass=privatetype): __slots__ = ['A'] __private__ = ['B'] # NOTE: __slots__ is enforced for security regardless of local definition def __new__(cls): …

Member Avatar
Member Avatar
+0 forum 22

Recently Thunderbird asked me to login again for Gmail. It presents me a form in which I have to insert the password. It is the same form as when I login to my Google account via my browser. Only the NEXT button does not work. Do you have an idea how to solve this?

Member Avatar
Member Avatar
+0 forum 4

Here's the full notice -> https://arstechnica.com/information-technology/2018/05/fbi-tells-router-users-to-reboot-now-to-kill-malware-infecting-500k-devices/ You can read what happened if you wish but just a r̴e̴b̴o̴o̴t̴ ̴a̴n̴d̴ ̴i̴t̴'̴s̴ ̴g̴a̴m̴e̴ ̴o̴v̴e̴r̴ ̴f̴o̴r̴ ̴t̴h̴i̴s̴ ̴m̴a̴l̴w̴a̴r̴e̴.̴ **Update in new reply.**

Member Avatar
Member Avatar
+0 forum 1

HELP!! I have a windows server 2012 r2 . I can still use my server until i fell asleep and now woke up, And can't log in to my administrator account. I didn't change password at all, i use the same password and i'd make sure that it is correct. But still not working. Only i can access the guest account. I research and tried some tutorials but not working. I don't have installation CD and my physical back is already affected by AMNESIA file, can't copy because it needs admin rights. I found out that all of my files …

Member Avatar
Member Avatar
+0 forum 26

Good day! Could you guys give me link or any tutorial about using parameterized query esp. in CRUD, I'm developing an enrolment system and I'm using C#.net and Mysql database.. I hope you can help me. TIA

Member Avatar
Member Avatar
+0 forum 5

I am trying out a function from a book for the first time. I could use some help. It goes: [CODE] function sanitizeString($var) { $var = stripslashes($var); $var = htmlentities($var); $var = strip_tags($var)' return $var; } [/CODE] I have two simple forms. One that asks for an email address and another that does fahrenheit-celsius conversions (interesting stuff, I know). I have been testing this sanitizeString function out and it doesn't seem to do anything. Any HTML, or slashes or anything I put in text fields are not stripped of any of the harmful stuff. The code in its entirety is: …

Member Avatar
Member Avatar
+0 forum 5

I am a member of another forum and forgot my password, so I clicked the "Forgot password" link and was told "fill this form out and we'll send you your lost password" or words to that effect. It occurred to me that I had never seen language like this and I figured that this was bad security. Normally you are sent a link to RESET your password. You are NOT sent your OLD password that you forgot. I've never been responsible for authenticating user's passwords, but my understanding is that you are not supposed to store the password on the …

Member Avatar
Member Avatar
+0 forum 5

After reading all the hype about the random ware virus I installed BufferZone Pro 64 bit. Worked o.K the first day but after booting today all my visual styles in windows 7 home premium disappeared ( aero glass etc) to make the opened windows really look poor. After uninstalling, everything went back to normal. Hmm, any ideas as I like the protection of virtualisation?

Member Avatar
Member Avatar
+0 forum 2

As soon as I find out exact manner of communication between the server and the software. I realized how easy it is to use programs to intercept it, analyze it and then send malicious (or rather illegal) query through. So. I was wondering is there a way to make sure that the query is sent by a legal program that was meant to send these queries and not a fakey. I know it sounds obscene, these days everything can be corrupted, broken, taken apart. And interception of connection (HTTP(S) queries in this case) is everyday-bread for even the most empty-headed …

Member Avatar
Member Avatar
+0 forum 21

If I wrote a program which would `Console.WriteLine()` a base64 code, like an easter egg ("a hidden secret" in gaming jargon) or something, for example string EasterEgg = "dGhlYmlnc2VjcmV0"; Console.WriteLine(b64d(EasterEgg)); And I would let a good obfuscator run through it. Now I know that crackers with enough time and knowledge can reverse engineer a program. From it's almost humanly-unreadable form. And change the Easter Egg or remove it. Meaning they can **change** value by editing the binary sequence behind it, **remove** it by leaving a null. But can they **read** the original value? When a program is compiled and obfuscated. …

Member Avatar
Member Avatar
+0 forum 2

I am have debugging some javascript code in firebug,then i have seen some strange POST thing in firebug this is worrying me? I have registration form when i reload page i see in firebug following "POST http://api.adsrun.net/post" Response Header Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection keep-alive Content-Type application/json Date Mon, 09 Nov 2015 13:25:43 GMT Expires Thu, 19 Nov 1981 08:52:00 GMT Pragma no-cache Server nginx/1.9.4 Set-Cookie PHPSESSID=a0f52694494daab764d719b907baff6b; expires=Sat, 07-Nov-2020 13:25:43 GMT; Max-Age=157680000 ; path=/ Transfer-Encoding chunked access-control-allow-cred... true access-control-allow-head... Content-Type access-control-allow-orig... http://localhost p3p CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV …

Member Avatar
+0 forum 0

*Story happens in imaginary universe, but I'm using current time "relativation".* vmWare Player type of application (but for free). I consider adding it to Open Source because everybody is saying how great it is and how fast bugs can be fixed. There's couple stories to be told: **Side of Manager** I like the fact that everybody can contribute to our project, in order to improve it by using suggestions and trustworthy community. Therefore I posted it on GitHub. **Side of Hobbist** Hey, we're community of 10.000 active programmers. We do our jobs really well. We love this project, so we …

Member Avatar
Member Avatar
+0 forum 8

I need help. I have a search button and 2 textboxes.Textbox1 should diplay the employee id when the search button is clicked (and it works fine).But I need to automatically see the employee name in textbox2, based on the employee id on textbox1.I'd really appreciate your help. Below is my code: conn = New SqlConnection("Data Source=MAPOUNDS\SQLEXPRESS;Initial Catalog=HRManagementSystem;Integrated Security=True") conn.Open() selectQuery = "SELECT * FROM EmployeeRegistration WHERE EmpID Like '" + txtEmpId.Text + "' AND FullName = '" & txtEmpName.Text & "'" cmd = New SqlCommand(selectQuery, conn) dr = cmd.ExecuteReader If dr.Read Then txtEmpName.Text = txtEmpId.SelectedText("textbox2 should display employee name based …

Member Avatar
Member Avatar
+0 forum 10

hi programming masters! i need your help..how can i SEARCH a record in a database and display the results?? example: if i type an ID number or a name on the text box and click the search button it will look for the records and display it.. i have a search button (cmdSearch) and a text box (Text1).. im using ms access DATABASE NAME = ListofMemebers tablename= Census fieldnames: ID LastName FirstName MiddleName Age Sex BirthDate BirthPlace Address ContactNo note: im using this codes: Private Sub cmdSearch_Click() Dim con As ADODB.Connection Set con = New ADODB.Connection Dim rsSearch As ADODB.Recordset …

Member Avatar
Member Avatar
+0 forum 15

OK, All I find all over the web is that this can't be done... What I am looking for is a functional alternative. I have a form that a client fills out with their information for a withdrawal When they finish filling out the form and submit it, I do error checking and present it to them to verify the content. When it is correct, they click the submit button, which basically generates an email and sends it to the company. I need to gather ID information at the same time in the form of attachments to the email So …

Member Avatar
Member Avatar
+0 forum 10

When you need to create a login page using PHP and MySQL, the safety of this login page relies on - Your PHP scripting abilities - How well and securely has PHP been programmed in C++. - How well C++ compiler of interpreter of PHP has been programmed. - How well and securely has MySQL been programmed. - How well and securely has interpreter of SQL been programmed. - The safety of libraries on machine that Apache/MySQL rely on. - The safety of integrity of machine (operating system). When you need to create a C# console application, the safety of …

Member Avatar
Member Avatar
+1 forum 3

Hello. i'm creating a simple CMS for myself. There is a register form, i can register as the admin of the cms and then with login form, i can enter into admin area to write a new post or edit or delete posts. But there is a problem. I typed the link of the admin page into browser from my cellphone to see if i can enter into admin area without login, and i faced with the admin page then! So how can i fix it? For example in wordpress if i type the link of my friend's admin page …

Member Avatar
Member Avatar
+0 forum 3

I am working on trying to secure some coldfusion servers. I've seen the lockdown guides all over the net. But those guides are for new installs. Is there a way to lockdown coldfusion after the install?

Member Avatar
+0 forum 0

Hi, Malware Bytes has stopped scanning. I had bought the full professional, and it stopped scanning files on request (from the pop-up menu when you right-click on files). I then realised it wouldn't update, and reinstalls have failed. The other virus software I use is simply Windows Defender. I'm running Windows 8.1 on a Lenovo Y480. I performed the "Read me Before" tasks, and AFT-Cleaner and GMER failed, and Windows Malicious Software Removal tool found nothing on a quick scan. Currently running a deep scan. DDS.scr says it "Will not run in compatibility mode" and closes. So, I basically haven't …

Member Avatar
Member Avatar
+0 forum 11

Hi there, I have a big problem and I need help. Yesterday as I sat on my pc a strange program called Win 7 Antivirus Plus 2013 appeared. It says it's an antivirus and shows up the following message: "System hijack! System security threat was detected. Viruses and/or spyware may be damaging your system now. Prevent infection and data loss or stealing by running a free security scan." I have not installed it and it shows up for a first time, so I don't know what to do. It looks suspicious for it's 2014 now and the program is out …

Member Avatar
Member Avatar
+0 forum 5

Hi, I'm thinking of using the htaccess file on my apache server to add a layer of security to the payment processing on my site. I am considering the 2 actions below, not sure how yet, but thats where the trial & error & learning begins. 1. rewrite the url for the files that do the processing i.e. the user completes the payment form at `//mydomain/forms/form.php` On submit the form data is posted to `//mydomain/payment/form_process.php` to process the payment - connect to the payment exchange, make payment, write to Db, etc, etc. I'm hoping I can rewite `//mydomain/payment/form_process.php` to something …

Member Avatar
Member Avatar
+0 forum 6

hey, I need help with this code, I have made database and code for inserting data, now I need code that will display data for group, in database I have groupnaziv, and id, here is code for inserting which works great, after that I will post code that I need help with <p align="center"><font color="#0000FF">Registracija koncerata</font></p> <p align="center">Naziv koncerta: <input type="text" name="enter_koncert" id="enter_koncert" /> </p> <p align="center"><font color="#0000FF">Broj prodatih karata</font></p> <p align="center">Broj: <input type="text" name="enter_karte" id="enter_karte" /> </p> <p align="center"><font color="#0000FF">Mesto</font></p> <p align="center">Mesto: <input type="text" name="enter_mesto" id="enter_mesto" /> </p> <p align="center"><font color="#0000FF">Datum</font></p> <p align="center">Datum: <input type="text" name="enter_datum" id="enter_datum" /> </p> …

Member Avatar
+0 forum 0

Hi i am reworking on my password security on the register page so far it is okay apart from the fact that im getting this error: Fatal error: Call to a member function create() on a non-object ` $bcrypt = new Bcrypt; try { $email1->create(array( ` 'username' => Input::get('username'),` 'password1' => $bcrypt->hash(Input::get('password')), 'firstname' => Input::get('name'), 'surname' => Input::get('surname'), 'pnumber' => Input::get('pnumber'), 'email1' => Input::get('email'), 'ipaddress' => Input::get('ipaddress'), 'signup_date' => date('Y-m-d H:i:s'), 'group' => 1 ));` the error is on the line ` 'username' => Input::get('username'),` does anyone have an idea of what it could be?

Member Avatar
Member Avatar
+0 forum 3

Hi All, I'm running through "Head First Java" and I'm hitting a snag with an exercise involving RMI. My Classes ---- package myremoteimpl; import java.rmi.*; import java.rmi.server.*; /** * * @author Michael */ public class MyRemoteImpl extends UnicastRemoteObject implements MyRemote { public String sayHello() { return "Server says, 'Hey'"; } public MyRemoteImpl() throws RemoteException {} /** * @param args the command line arguments */ public static void main(String[] args) { try { MyRemote service = new MyRemoteImpl(); Naming.rebind("RemoteHello", service); } catch (Exception ex) { ex.printStackTrace(); } } } ---- package myremoteclient; import java.rmi.*; /** * * @author Michael */ public …

Member Avatar
Member Avatar
+0 forum 2

Hey. I need help coding a php script that receives a URL from a form then displays all the images(jpeg, png and gif) from that webpage. I don't need to images to be saved. This is what I already have: form.html <html> <head> </head> <body> <div id="form"> <form action="view.php" method="get"> <input type="text" name="url"> <input type="submit" value="View Images"> </form> </div> </body> </html> view.php <?php // get url from form $url = $_GET["url"]; // get contents from url $content = file_get_contents($url); // finally display images echo $images; ?> How do I go about coding the rest? What functions do you suggest? Any …

Member Avatar
Member Avatar
+0 forum 2

Hi I've written this small program to demonstrate the Diffie–Hellman key exchange algorithm. The desired output from the program is for most runs correct. However occasionally there are some discrepancies in output of the shared secret keys values in that they don't match, when they should. I've found that certain prime numbers cause this behaviour one being the value 1039. I've done the calculation by hand & found the problem seems to be in the shared_secret_key function when it calculates Bob's shared_secret_key. I was wondering if any of you guy's could spot the problem/s? Many thanks in advance. [CODE]programs output... …

Member Avatar
Member Avatar
+0 forum 4

Hi Dw I'm working with permissions in my program I want it to protect the chosen file by permissions and now what I want is how can I make these permissions unchanged by a user? Or if not possible because I don't want even the administrator to change these permission for the security of the file or contents it will be holding, or maybe after I protected the file with the permission and it a user or a program want to modify or open the folder the system not just only my program request an access password which will be …

Member Avatar
Member Avatar
+0 forum 7

We're looking into the Enterprise Library, to see if the security part will fit our needs. We want to use application roles/rights, so we probably need to write our own security provider. What I'm looking for are decent resources on this specific topic. I've found several books already on the library, but I'd like something that focuses on security specifically.

Member Avatar
+0 forum 0

A client of mine wants to implement SSL on their site. They have a number of forms which communicate sensitive/personal information, and want to send the data over a secure channel. I've worked with sites that have SSL certificates already, but never actually implemented one myself. The site runs on WordPress, using a custom theme I created. To the questions: 1. Their head of IT says they have a UCC SSL. Is this appropriate for the task? I once purchased an SSL for Magento Go, and I believe it was called an EV SSL, which I imagine is not the …

Member Avatar
Member Avatar
+0 forum 4

Toshiba Windows 7 Laptop is not accepting 1 Critical Update after numerous attempts. It is update KB2667402 159KB. Any help would be appreciated. System is Windows 7 x64.

Member Avatar
Member Avatar
+0 forum 8

The End.