domain

SSL iframe is embedded on other web site

Iframe from domain with SSLcertificate will be embedded on other site (foo.com). Must foo.com have SSL cerificate? If foo.com has SSL certificate, will it be an security error? foo.com has SSL certificate for foo.com, but iframe domain has other SSL certificate. If foo.com hasn't got SSL certificate, will it be an security error? ...

Should Interfaces be aware of Domain Objects?

In my system I have two different projects, one defining its interfaces and another defining its domain objects. So far I managed to have the interface definitions independent of the domain objects but I am feeling now the need to include certain domain objects either as parameters of the methods defined in the interfaces or as return va...

Is there a way to transparently perform validation on SQLAlchemy objects?

Is there a way to perform validation on an object after (or as) the properties are set but before the session is committed? For instance, I have a domain model Device that has a mac property. I would like to ensure that the mac property contains a valid and sanitized mac value before it is added to or updated in the database. It looks ...

Domain Redirection While Maintaining Original URL

I have two domains ("this_site.com" and "that_site.com") that I want to point to the same place (same set of files). BUT What I really want to do is maintain the original URL in the address bar while the visitor accesses the different pages. Example: The primary domain holding the web files is "this_site.com". If I type in "that_site....

Should programmers be domain experts?

Hi, What, in your opinion (although I would highly appreciate articles / books on related issues), should be the the level of the programmers knowledge of the domain? (This related question didn't quite answer my question / had a reference to something I can use) ...

Find domain of a user from Active Directory

Wrote a java code to search for users from Active Directory server. We get the user list but dont know the domain to which each user belongs. How can the domain of the user be found from Active Directory programatically. One method thought of is : 1)Get the distinguished name of user from Active Directory. 2)Parse the distinguished nam...

How to. domain works?

Can somebody explain why and how "to." domain works? It's not usual. http://to./ ...

List of free hosted domains (phishing prevention)

Does anyone has a compiled list of free hosting domains? On my website, when user clicks on external link I want them to be redirected to my page that will check if that external link is on free hosting or not. If it is, I want to warn the user, but right now I can't find a list of such domains. Any help? ...

where should I do the conversion: Domain object<->DTO?

In Domain Layer or Data access layer? ...

Using Active Directory to authenticate users in a WWW facing website

Hi, I'm looking at starting a new web app which needs to be secure (if for no other reason than that we'll need PCI (Payment Card Industry) accreditation at some point). From previous experience working with PCI (on a domain), the preferred method is to use integrated windows authentication which is then passed all the way through the ...

Need help redirecting http://website.com/ to http://www.website.com/

What I'm trying to do is to redirect my website visitors who enter example.com to www.example.com. I would do this with a standard redirect, but I don't know how to make a site specific to WWW or non-WWW addresses. I see that Firefox thinks my site is clearly different at the WWW version, because it reloads it without using the cache. ...

MySQL Query to Count Unique Domains from Email Address field

I'd like to get a better idea of what domains my customers are using. I could easily do this in PHP by explodeing each address and counting the domain that way. But I'm wondering if there's a way to get this information with just a plain MySQL query? This is what sample output would look like: gmail.com | 3942 yahoo.com | 3852 hotmai...

Redirect to a specific url depending upon the base url using htaccess file

I am using htaccess to redirect to url with page description. For example RewriteRule ^Flash$ /index.php?section=flash [L,NC] By using this code when i hot domain.com/Flash it redirects me to www.domain.com/index.php? section=flash. This works fine. But now what i want to have two more site with the same htaccess file. So can an...

configuring kerberose-sso-negotiate in multiple domains

hi all I have mycorp.com, ch1.mycorp.com, mycorp2.com domains (it is all windows) I am configuring sso-kerberose-negotiate authentication My server running in mainaaa3.mycorp2.com, I have created spn "http:/mainaaa3.mycorp2.com" for it, and I have set trusts between domains, but if users from mycorp.com, ch1.mycorp.com domains that bro...

set up way of getting mysite.$domain

Hi I have several domains, only one website and one databse table for each domain. example: wbesite.us - data from USA goes to database table main_usa wbesite.co.uk - data form UK goes to database table main_uk Only have one database with name of the website. Having only one website structured, and having variables like $sql="select...

htacces with two domains. Point domain1/folder to domain1/anotherfolder/

Hello I have a hotel with two domains. Now the customer want a redirect: domain1.dk/folder/ [nothing should happen] domain2.dk/folder/ -> domain1.dk/anotherfolder/ The two URL's above (domain1.dk/folder/, domain2.dk/folder/) does not exist in the navigation structure today. I am not sure if htaccess is the way to go when there are m...

Google App Engine on Google Apps Domain

I'm having trouble getting my domain pointed to my website hosted with google app engine. Here's the background... take care to separate the concepts of "google apps" (domain hosting, email, etc.) and "google app engine" (website framework). I have a domain that's using Google Apps for Your Domain, let's call it company.com. So my login...

How do you know when you should change the programming domain you're working in?

I've recently become one of the most senior developers in one division of the company, and am generally the 'go-to' guy about questions in the problem domain the division works in, however I feel I'm not learning anything new. To continue to learn new things I would have to change division and work on something competely different, but t...

Is it possible to override List accessors in Grails domain classes?

If I have a List in a Grails domain class, is there a way to override the addX() and removeX() accessors to it? In the following example, I'd expect MyObject.addThing(String) to be called twice. In fact, the output is: Adding thing: thing 2 class MyObject { static hasMany = [things: String] List things = [] void addT...

Why don't Domain class static methods work from inside a grails "service"?

I want a grails service to be able to access Domain static methods, for queries, etc. For example, in a controller, I can call IncomingCall.count() to get the number of records in table "IncomingCall" but if I try to do this from inside a service, I get the error: org.springframework.beans.factory.BeanCreationException: Error creat...